/*
 * Copyright (c) 2021 minglong@iscas.ac.cn
 *
 * Redistribution and use in source and binary forms, with or without modification,
 * are permitted provided that the following conditions are met:
 *
 * 1. Redistributions of source code must retain the above copyright notice, this list of
 *    conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright notice, this list
 *    of conditions and the following disclaimer in the documentation and/or other materials
 *    provided with the distribution.
 *
 * 3. Neither the name of the copyright holder nor the names of its contributors may be used
 *    to endorse or promote products derived from this software without specific prior written
 *    permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
import type { AppRouteModule } from '/@/router/types';

import { getParentLayout, LAYOUT } from '/@/router/constant';
// import { t } from '/@/hooks/web/useI18n';

const documents: AppRouteModule = {
  path: '/documents',
  component: LAYOUT,
  redirect: '/documents',
  name: 'documents',
  meta: { orderNo: 10, title: '文档' },
  children: [
    // 文档-导读
    {
      path: 'documents-overview',
      component: () => import('/@/views/documents/overview.vue'),
      name: 'documents-overview',
      meta: { title: '文档-导读' }
    },
    // 设备开发-快速开始
    {
      path: 'device-dev-quickstart',
      component: getParentLayout('device-dev-quickstart'),
      name: 'device-dev-quickstart',
      redirect: '/documents/device-dev-quickstart',
      meta: { title: '设备开发-快速开始' },
      children: [
        {
          path: 'device-dev-quickstart-1',
          component: getParentLayout('device-dev-quickstart-1'),
          name: 'device-dev-quickstart-1',
          meta: { title: '轻量和小型系统入门' },
          children: [
            {
              path: 'quickstart-lite-overview',
              component: () => import('/@/views/documents/device-dev/quick-start/quickstart_lite_overview.vue'),
              name: 'quickstart-lite-overview',
              meta: { title: '概述' }
            },
            {
              path: 'device-dev-quickstart-2',
              component: getParentLayout('device-dev-quickstart-2'),
              name: 'device-dev-quickstart-2',
              meta: { title: '入门介绍' },
              children: [
                {
                  path: 'oem_minitinier_des_3861',
                  component: () => import('/@/views/documents/device-dev/quick-start/oem_minitinier_des_3861.vue'),
                  name: 'oem_minitinier_des_3861',
                  meta: { title: 'Hi3861开发板介绍' }
                },
                {
                  path: 'oem_minitinier_des_3516',
                  component: () => import('/@/views/documents/device-dev/quick-start/oem_minitinier_des_3516.vue'),
                  name: 'oem_minitinier_des_3516',
                  meta: { title: 'Hi3516开发板介绍' }
                },
                {
                  path: 'oem_minitinier_des_3518',
                  component: () => import('/@/views/documents/device-dev/quick-start/oem_minitinier_des_3518.vue'),
                  name: 'oem_minitinier_des_3518',
                  meta: { title: 'Hi3518开发板介绍' }
                }
              ]
            },
            {
              path: 'device-dev-quickstart-3',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-quickstart-3',
              redirect: 'noRedirect',
              meta: { title: '搭建系统环境' },
              children: [
                {
                  path: 'quickstart-lite-env-setup-overview',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-env-setup-overview.vue'),
                  name: 'quickstart-lite-env-setup-overview',
                  meta: { title: '概述' }
                },
                {
                  path: 'quickstart-lite-env-setup-windows',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-env-setup-windows.vue'),
                  name: 'quickstart-lite-env-setup-windows',
                  meta: { title: 'Windows开发环境准备' }
                },
                {
                  path: 'quickstart-lite-env-setup-linux',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-env-setup-linux.vue'),
                  name: 'quickstart-lite-env-setup-linux',
                  meta: { title: '获取源码及Ubuntu编译环境准备' }
                },
                {
                  path: 'quickstart-lite-env-setup-faqs',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-env-setup-faqs.vue'),
                  name: 'quickstart-lite-env-setup-faqs',
                  meta: { title: '常见问题' }
                }
              ]
            },
            {
              path: 'device-dev-quickstart-4',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-quickstart-4',
              redirect: 'noRedirect',
              meta: { title: '开发步骤-Hi3861开发板' },
              children: [
                {
                  path: 'quickstart-lite-steps-hi3861-setting',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-steps-hi3861-setting.vue'),
                  name: 'quickstart-lite-steps-hi3861-setting',
                  meta: { title: '安装开发板环境' }
                },
                {
                  path: 'quickstart-lite-steps-hi3861-connection',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-steps-hi3861-connection.vue'),
                  name: 'quickstart-lite-steps-hi3861-connection',
                  meta: { title: 'WLAN联网（编译、烧录）' }
                },
                {
                  path: 'quickstart-lite-steps-hi3861-running',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-steps-hi3861-running.vue'),
                  name: 'quickstart-lite-steps-hi3861-running',
                  meta: { title: '运行Hello World' }
                },
                {
                  path: 'quickstart-lite-steps-hi3861-faqs',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-steps-hi3861-faqs.vue'),
                  name: 'quickstart-lite-steps-hi3861-faqs',
                  meta: { title: '常见问题' }
                }
              ]
            },
            {
              path: 'device-dev-quickstart-5',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-quickstart-5',
              redirect: 'noRedirect',
              meta: { title: '开发步骤-Hi3516开发板' },
              children: [
                {
                  path: 'quickstart-lite-steps-hi3516-setting',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-steps-hi3516-setting.vue'),
                  name: 'quickstart-lite-steps-hi3516-setting',
                  meta: { title: '安装开发板环境' }
                },
                {
                  path: 'quickstart-lite-steps-hi3516-running',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-steps-hi3516-running.vue'),
                  name: 'quickstart-lite-steps-hi3516-running',
                  meta: { title: '运行Hello OHOS（编译、烧录）' }
                },
                {
                  path: 'quickstart-lite-steps-hi3516-program',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-steps-hi3516-program.vue'),
                  name: 'quickstart-lite-steps-hi3516-program',
                  meta: { title: '驱动开发示例' }
                },
                {
                  path: 'quickstart-lite-steps-hi3516-faqs',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-steps-hi3516-faqs.vue'),
                  name: 'quickstart-lite-steps-hi3516-faqs',
                  meta: { title: '常见问题' }
                }
              ]
            },
            {
              path: 'device-dev-quickstart-6',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-quickstart-6',
              redirect: 'noRedirect',
              meta: { title: '开发步骤-Hi3518开发板' },
              children: [
                {
                  path: 'quickstart-lite-steps-hi3518-setting',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-steps-hi3518-setting.vue'),
                  name: 'quickstart-lite-steps-hi3518-setting',
                  meta: { title: '安装开发板环境' }
                },
                {
                  path: 'quickstart-lite-steps-hi3518-running',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-steps-hi3518-running.vue'),
                  name: 'quickstart-lite-steps-hi3518-running',
                  meta: { title: '运行Hello OHOS（编译、烧录）' }
                },
                {
                  path: 'quickstart-lite-steps-hi3518-faqs',
                  component: () => import('/@/views/documents/device-dev/quick-start/quickstart-lite-steps-hi3518-faqs.vue'),
                  name: 'quickstart-lite-steps-hi3518-faqs',
                  meta: { title: '常见问题' }
                }
              ]
            },
          ]
        },
        {
          path: 'device-dev-quickstart-21',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-quickstart-21',
          redirect: 'noRedirect',
          meta: { title: '标准系统入门' },
          children: [
            {
              path: 'quickstart-standard-overview',
              component: () => import('/@/views/documents/device-dev/quick-start/quickstart-standard-overview.vue'),
              name: 'quickstart-standard-overview',
              meta: { title: '入门介绍' }
            },
            {
              path: 'quickstart-standard-windows-environment',
              component: () => import('/@/views/documents/device-dev/quick-start/quickstart-standard-windows-environment.vue'),
              name: 'quickstart-standard-windows-environment',
              meta: { title: '搭建Windows开发环境' }
            },
            {
              path: 'quickstart-standard-docker-environment',
              component: () => import('/@/views/documents/device-dev/quick-start/quickstart-standard-docker-environment.vue'),
              name: 'quickstart-standard-docker-environment',
              meta: { title: '搭建Ubuntu环境-Docker方式' }
            },
            {
              path: 'quickstart-standard-package-environment',
              component: () => import('/@/views/documents/device-dev/quick-start/quickstart-standard-package-environment.vue'),
              name: 'quickstart-standard-package-environment',
              meta: { title: '搭建Ubuntu环境-安装包方式' }
            },
            {
              path: 'quickstart-standard-burn',
              component: () => import('/@/views/documents/device-dev/quick-start/quickstart-standard-burn.vue'),
              name: 'quickstart-standard-burn',
              meta: { title: '镜像烧录' }
            },
            {
              path: 'quickstart-standard-running',
              component: () => import('/@/views/documents/device-dev/quick-start/quickstart-standard-running.vue'),
              name: 'quickstart-standard-running',
              meta: { title: '镜像运行' }
            },
            {
              path: 'quickstart-standard-faqs',
              component: () => import('/@/views/documents/device-dev/quick-start/quickstart-standard-faqs.vue'),
              name: 'quickstart-standard-faqs',
              meta: { title: '常见问题' }
            }
          ]
        }
      ]
    },
    // 设备开发-内核
    {
      path: 'device-dev-kernel',
      component: () => import('/@/views/documents/device-dev/index.vue'),
      name: 'device-dev-kernel',
      redirect: 'noRedirect',
      meta: { title: '设备开发-内核' },
      children: [
        {
          path: 'device-dev-kernel-1',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-kernel-1',
          redirect: 'noRedirect',
          meta: { title: '轻量系统内核' },
          children: [
            {
              path: 'kernel-mini-overview',
              component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-overview.vue'),
              name: 'kernel-mini-overview',
              meta: { title: '内核概述' }
            },
            {
              path: 'device-dev-kernel-1-1',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-kernel-1-1',
              redirect: 'noRedirect',
              meta: { title: '基础内核' },
              children: [
                {
                  path: 'device-dev-kernel-1-1-1',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-1-1-1',
                  redirect: 'noRedirect',
                  meta: { title: '中断管理' },
                  children: [
                    {
                      path: 'kernel-mini-basic-interrupt-concept',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-interrupt-concept.vue'),
                      name: 'kernel-mini-basic-interrupt-concept',
                      meta: { title: '基本概念' }
                    },
                    {
                      path: 'kernel-mini-basic-interrupt-guide',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-interrupt-guide.vue'),
                      name: 'kernel-mini-basic-interrupt-guide',
                      meta: { title: '开发指导' }
                    }
                  ]
                },
                {
                  path: 'device-dev-kernel-1-1-2',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-1-1-2',
                  redirect: 'noRedirect',
                  meta: { title: '任务管理' },
                  children: [
                    {
                      path: 'kernel-mini-basic-task-basic',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-task-basic.vue'),
                      name: 'kernel-mini-basic-task-basic',
                      meta: { title: '基本概念' }
                    },
                    {
                      path: 'kernel-mini-basic-task-guide',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-task-guide.vue'),
                      name: 'kernel-mini-basic-task-guide',
                      meta: { title: '开发指导' }
                    }
                  ]
                },
                {
                  path: 'device-dev-kernel-1-1-3',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-1-1-3',
                  redirect: 'noRedirect',
                  meta: { title: '内存管理' },
                  children: [
                    {
                      path: 'kernel-mini-basic-memory-basic',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-memory-basic.vue'),
                      name: 'kernel-mini-basic-memory-basic',
                      meta: { title: '基本概念' }
                    },
                    {
                      path: 'kernel-mini-basic-memory-static',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-memory-static.vue'),
                      name: 'kernel-mini-basic-memory-static',
                      meta: { title: '静态内存' }
                    },
                    {
                      path: 'kernel-mini-basic-memory-dynamic',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-memory-dynamic.vue'),
                      name: 'kernel-mini-basic-memory-dynamic',
                      meta: { title: '动态内存' }
                    }
                  ]
                },
                {
                  path: 'device-dev-kernel-1-1-4',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-1-1-4',
                  redirect: 'noRedirect',
                  meta: { title: '内核通信机制-事件' },
                  children: [
                    {
                      path: 'kernel-mini-basic-ipc-event-basic',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-ipc-event-basic.vue'),
                      name: 'kernel-mini-basic-ipc-event-basic',
                      meta: { title: '基本概念' }
                    },
                    {
                      path: 'kernel-mini-basic-ipc-event-guide',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-ipc-event-guide.vue'),
                      name: 'kernel-mini-basic-ipc-event-guide',
                      meta: { title: '开发指导' }
                    }
                  ]
                },
                {
                  path: 'device-dev-kernel-1-1-5',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-1-1-5',
                  redirect: 'noRedirect',
                  meta: { title: '内核通信机制-互斥锁' },
                  children: [
                    {
                      path: 'kernel-mini-basic-ipc-mutex-basic',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-ipc-mutex-basic.vue'),
                      name: 'kernel-mini-basic-ipc-mutex-basic',
                      meta: { title: '基本概念' }
                    },
                    {
                      path: 'kernel-mini-basic-ipc-mutex-guide',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-ipc-mutex-guide.vue'),
                      name: 'kernel-mini-basic-ipc-mutex-guide',
                      meta: { title: '开发指导' }
                    }
                  ]
                },
                {
                  path: 'device-dev-kernel-1-1-6',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-1-1-6',
                  redirect: 'noRedirect',
                  meta: { title: '内核通信机制-消息队列' },
                  children: [
                    {
                      path: 'kernel-mini-basic-ipc-queue-basic',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-ipc-queue-basic.vue'),
                      name: 'kernel-mini-basic-ipc-queue-basic',
                      meta: { title: '基本概念' }
                    },
                    {
                      path: 'kernel-mini-basic-ipc-queue-guide',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-ipc-queue-guide.vue'),
                      name: 'kernel-mini-basic-ipc-queue-guide',
                      meta: { title: '开发指导' }
                    }
                  ]
                },
                {
                  path: 'device-dev-kernel-1-1-7',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-1-1-7',
                  redirect: 'noRedirect',
                  meta: { title: '内核通信机制-信号量' },
                  children: [
                    {
                      path: 'kernel-mini-basic-ipc-sem-basic',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-ipc-sem-basic.vue'),
                      name: 'kernel-mini-basic-ipc-sem-basic',
                      meta: { title: '基本概念' }
                    },
                    {
                      path: 'kernel-mini-basic-ipc-sem-guide',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-ipc-sem-guide.vue'),
                      name: 'kernel-mini-basic-ipc-sem-guide',
                      meta: { title: '开发指导' }
                    }
                  ]
                },
                {
                  path: 'device-dev-kernel-1-1-8',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-1-1-8',
                  redirect: 'noRedirect',
                  meta: { title: '时间管理' },
                  children: [
                    {
                      path: 'kernel-mini-basic-time-basic',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-time-basic.vue'),
                      name: 'kernel-mini-basic-time-basic',
                      meta: { title: '基本概念' }
                    },
                    {
                      path: 'kernel-mini-basic-time-guide',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-time-guide.vue'),
                      name: 'kernel-mini-basic-time-guide',
                      meta: { title: '开发指导' }
                    }
                  ]
                },
                {
                  path: 'device-dev-kernel-1-1-9',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-1-1-9',
                  redirect: 'noRedirect',
                  meta: { title: '软件定时器' },
                  children: [
                    {
                      path: 'kernel-mini-basic-soft-basic',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-soft-basic.vue'),
                      name: 'kernel-mini-basic-soft-basic',
                      meta: { title: '基本概念' }
                    },
                    {
                      path: 'kernel-mini-basic-soft-guide',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-basic-soft-guide.vue'),
                      name: 'kernel-mini-basic-soft-guide',
                      meta: { title: '开发指导' }
                    }
                  ]
                }
              ]
            },
            {
              path: 'device-dev-kernel-1-2',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-kernel-1-2',
              redirect: 'noRedirect',
              meta: { title: '扩展组件' },
              children: [
                {
                  path: 'kernel-mini-extend-support',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-extend-support.vue'),
                  name: 'kernel-mini-extend-support',
                  meta: { title: 'C++支持' }
                },
                {
                  path: 'device-dev-kernel-1-2-1',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-1-2-1',
                  redirect: 'noRedirect',
                  meta: { title: 'CPU占用率' },
                  children: [
                    {
                      path: 'kernel-mini-extend-cpup-basic',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-extend-cpup-basic.vue'),
                      name: 'kernel-mini-extend-cpup-basic',
                      meta: { title: '基本概念' }
                    },
                    {
                      path: 'kernel-mini-extend-cpup-guide',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-extend-cpup-guide.vue'),
                      name: 'kernel-mini-extend-cpup-guide',
                      meta: { title: '开发指导' }
                    }
                  ]
                },
                {
                  path: 'kernel-mini-extend-dynamic-loading-basic',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-extend-dynamic-loading-basic.vue'),
                  name: 'kernel-mini-extend-dynamic-loading-basic',
                  meta: { title: '基本概念' }
                },
                {
                  path: 'kernel-mini-extend-dynamic-loading-guide',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-extend-dynamic-loading-guide.vue'),
                  name: 'kernel-mini-extend-dynamic-loading-guide',
                  meta: { title: '开发指导' }
                },
                {
                  path: 'device-dev-kernel-1-2-2',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-1-2-2',
                  redirect: 'noRedirect',
                  meta: { title: '文件系统' },
                  children: [
                    {
                      path: 'kernel-mini-extend-file-fat',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-extend-file-fat.vue'),
                      name: 'kernel-mini-extend-file-fat',
                      meta: { title: 'FAT' }
                    },
                    {
                      path: 'kernel-mini-extend-file-littlefs-basic',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-extend-file-littlefs-basic.vue'),
                      name: 'kernel-mini-extend-file-littlefs-basic',
                      meta: { title: 'LittleFS-基本概念' }
                    },
                    {
                      path: 'kernel-mini-extend-file-littlefs-guide',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-extend-file-littlefs-guide.vue'),
                      name: 'kernel-mini-extend-file-littlefs-guide',
                      meta: { title: 'LittleFS-开发指导' }
                    }
                  ]
                }
              ]
            },
            {
              path: 'device-dev-kernel-1-3',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-kernel-1-3',
              redirect: 'noRedirect',
              meta: { title: '内核调测' },
              children: [
                {
                  path: 'kernel-mini-memory-debug-mes',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-memory-debug-mes.vue'),
                  name: 'kernel-mini-memory-debug-mes',
                  meta: { title: '内存调测-内存信息统计' }
                },
                {
                  path: 'kernel-mini-imemory-debug-det',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-imemory-debug-det.vue'),
                  name: 'kernel-mini-imemory-debug-det',
                  meta: { title: '内存调测-内存泄漏检测' }
                },
                {
                  path: 'kernel-mini-memory-debug-cet',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-memory-debug-cet.vue'),
                  name: 'kernel-mini-memory-debug-cet',
                  meta: { title: '内存调测-踩内存检测' }
                },
                {
                  path: 'kernel-mini-memory-exception',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-memory-exception.vue'),
                  name: 'kernel-mini-memory-exception',
                  meta: { title: '异常调测' }
                },
                {
                  path: 'kernel-mini-memory-trace',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-memory-trace.vue'),
                  name: 'kernel-mini-memory-trace',
                  meta: { title: 'Trace调测' }
                }
              ]
            },
            {
              path: 'device-dev-kernel-1-4',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-kernel-1-4',
              redirect: 'noRedirect',
              meta: { title: '附录' },
              children: [
                {
                  path: 'kernel-mini-appx-code',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-appx-code.vue'),
                  name: 'kernel-mini-appx-code',
                  meta: { title: '内核编码规范' }
                },
                {
                  path: 'kernel-mini-appx-data',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-appx-data.vue'),
                  name: 'kernel-mini-appx-data',
                  meta: { title: '基本数据结构-双向链表' }
                },
                {
                  path: 'kernel-mini-appx-lib-cmsis',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-appx-lib-cmsis.vue'),
                  name: 'kernel-mini-appx-lib-cmsis',
                  meta: { title: '标准库支持-CMSIS支持' }
                },
                {
                  path: 'kernel-mini-appx-lib-posix',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-mini-appx-lib-posix.vue'),
                  name: 'kernel-mini-appx-lib-posix',
                  meta: { title: '标准库支持-POSIX支持' }
                }
              ]
            }
          ]
        },
        {
          path: 'device-dev-kernel-2',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-kernel-2',
          redirect: 'noRedirect',
          meta: { title: '小型系统内核' },
          children: [
            {
              path: 'kernel-small-overview',
              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-overview.vue'),
              name: 'kernel-small-overview',
              meta: { title: '内核概述' }
            },
            {
              path: 'device-dev-kernel-2-1',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-kernel-2-1',
              redirect: 'noRedirect',
              meta: { title: '内核启动' },
              children: [
                {
                  path: 'kernel-small-start-kernel',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-start-kernel.vue'),
                  name: 'kernel-small-start-kernel',
                  meta: { title: '内核态启动' }
                },
                {
                  path: 'kernel-small-start-user',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-start-user.vue'),
                  name: 'kernel-small-start-user',
                  meta: { title: '用户态启动' }
                }
              ]
            },
            {
              path: 'device-dev-kernel-2-2',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-kernel-2-2',
              redirect: 'noRedirect',
              meta: { title: '基础内核' },
              children: [
                {
                  path: 'kernel-small-basic-interrupt',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-interrupt.vue'),
                  name: 'kernel-small-basic-interrupt',
                  meta: { title: '中断及异常处理' }
                },
                {
                  path: 'device-dev-kernel-2-2-1',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-2-2-1',
                  redirect: 'noRedirect',
                  meta: { title: '进程管理' },
                  children: [
                    {
                      path: 'kernel-small-basic-process-process',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-process-process.vue'),
                      name: 'kernel-small-basic-process-process',
                      meta: { title: '进程' }
                    },
                    {
                      path: 'kernel-small-basic-process-thread',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-process-thread.vue'),
                      name: 'kernel-small-basic-process-thread',
                      meta: { title: '任务' }
                    },
                    {
                      path: 'kernel-small-basic-process-scheduler',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-process-scheduler.vue'),
                      name: 'kernel-small-basic-process-scheduler',
                      meta: { title: '调度器' }
                    }
                  ]
                },
                {
                  path: 'device-dev-kernel-2-2-2',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-2-2-2',
                  redirect: 'noRedirect',
                  meta: { title: '内存管理' },
                  children: [
                    {
                      path: 'kernel-small-basic-memory-heap',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-memory-heap.vue'),
                      name: 'kernel-small-basic-memory-heap',
                      meta: { title: '堆内存管理' }
                    },
                    {
                      path: 'kernel-small-basic-memory-physical',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-memory-physical.vue'),
                      name: 'kernel-small-basic-memory-physical',
                      meta: { title: '物理内存管理' }
                    },
                    {
                      path: 'kernel-small-basic-memory-virtual',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-memory-virtual.vue'),
                      name: 'kernel-small-basic-memory-virtual',
                      meta: { title: '虚拟内存管理' }
                    },
                    {
                      path: 'kernel-small-basic-inner-reflect',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-inner-reflect.vue'),
                      name: 'kernel-small-basic-inner-reflect',
                      meta: { title: '虚实映射' }
                    }
                  ]
                },
                {
                  path: 'device-dev-kernel-2-2-3',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-2-2-3',
                  redirect: 'noRedirect',
                  meta: { title: '内核通信机制' },
                  children: [
                    {
                      path: 'kernel-small-basic-trans-event',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-trans-event.vue'),
                      name: 'kernel-small-basic-trans-event',
                      meta: { title: '事件' }
                    },
                    {
                      path: 'kernel-small-basic-trans-semaphore',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-trans-semaphore.vue'),
                      name: 'kernel-small-basic-trans-semaphore',
                      meta: { title: '信号量' }
                    },
                    {
                      path: 'kernel-small-basic-trans-mutex',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-trans-mutex.vue'),
                      name: 'kernel-small-basic-trans-mutex',
                      meta: { title: '互斥锁' }
                    },
                    {
                      path: 'kernel-small-basic-trans-queue',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-trans-queue.vue'),
                      name: 'kernel-small-basic-trans-queue',
                      meta: { title: '消息队列' }
                    },
                    {
                      path: 'kernel-small-basic-trans-rwlock',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-trans-rwlock.vue'),
                      name: 'kernel-small-basic-trans-rwlock',
                      meta: { title: '读写锁' }
                    },
                    {
                      path: 'kernel-small-basic-trans-user-mutex',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-trans-user-mutex.vue'),
                      name: 'kernel-small-basic-trans-user-mutex',
                      meta: { title: '用户态快速互斥锁' }
                    },
                    {
                      path: 'kernel-small-basic-trans-user-signal',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-trans-user-signal.vue'),
                      name: 'kernel-small-basic-trans-user-signal',
                      meta: { title: '信号' }
                    }
                  ]
                },
                {
                  path: 'kernel-small-basic-time',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-time.vue'),
                  name: 'kernel-small-basic-time',
                  meta: { title: '时间管理' }
                },
                {
                  path: 'kernel-small-basic-softtimer',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-softtimer.vue'),
                  name: 'kernel-small-basic-softtimer',
                  meta: { title: '软件定时器' }
                },
                {
                  path: 'kernel-small-basic-atomic',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-basic-atomic.vue'),
                  name: 'kernel-small-basic-atomic',
                  meta: { title: '原子操作' }
                }
              ]
            },
            {
              path: 'device-dev-kernel-2-3',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-kernel-2-3',
              redirect: 'noRedirect',
              meta: { title: '扩展组件' },
              children: [
                {
                  path: 'kernel-small-bundles-system',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-bundles-system.vue'),
                  name: 'kernel-small-bundles-system',
                  meta: { title: '系统调用' }
                },
                {
                  path: 'kernel-small-bundles-linking',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-bundles-linking.vue'),
                  name: 'kernel-small-bundles-linking',
                  meta: { title: '动态加载与链接' }
                },
                {
                  path: 'kernel-small-bundles-share',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-bundles-share.vue'),
                  name: 'kernel-small-bundles-share',
                  meta: { title: '虚拟动态共享库' }
                },
                {
                  path: 'kernel-small-bundles-ipc',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-bundles-ipc.vue'),
                  name: 'kernel-small-bundles-ipc',
                  meta: { title: '轻量级进程间通信' }
                },
                {
                  path: 'kernel-small-bundles-fs-virtual',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-bundles-fs-virtual.vue'),
                  name: 'kernel-small-bundles-fs-virtual',
                  meta: { title: '虚拟文件系统' }
                },
                {
                  path: 'device-dev-kernel-2-4-2',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-2-4-2',
                  redirect: 'noRedirect',
                  meta: { title: '支持的文件系统' },
                  children: [
                    {
                      path: 'kernel-small-bundles-fs-support-fat',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-bundles-fs-support-fat.vue'),
                      name: 'kernel-small-bundles-fs-support-fat',
                      meta: { title: 'FAT' }
                    },
                    {
                      path: 'kernel-small-bundles-fs-support-jffs2',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-bundles-fs-support-jffs2.vue'),
                      name: 'kernel-small-bundles-fs-support-jffs2',
                      meta: { title: 'JFFS2' }
                    },
                    {
                      path: 'kernel-small-bundles-fs-support-nfs',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-bundles-fs-support-nfs.vue'),
                      name: 'kernel-small-bundles-fs-support-nfs',
                      meta: { title: 'NFS' }
                    },
                    {
                      path: 'kernel-small-bundles-fs-support-ramfs',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-bundles-fs-support-ramfs.vue'),
                      name: 'kernel-small-bundles-fs-support-ramfs',
                      meta: { title: 'Ramfs' }
                    },
                    {
                      path: 'kernel-small-bundles-fs-support-procfs',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-bundles-fs-support-procfs.vue'),
                      name: 'kernel-small-bundles-fs-support-procfs',
                      meta: { title: 'Procfs' }
                    }
                  ]
                },
                {
                  path: 'kernel-small-bundles-fs-new',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-bundles-fs-new.vue'),
                  name: 'kernel-small-bundles-fs-new',
                  meta: { title: '适配新的文件系统' }
                },
              ]
            },
            {
              path: 'device-dev-kernel-2-4',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-kernel-2-4',
              redirect: 'noRedirect',
              meta: { title: '调测与工具' },
              children: [
                {
                  path: 'device-dev-kernel-2-4-1',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-2-4-1',
                  redirect: 'noRedirect',
                  meta: { title: 'Shell' },
                  children: [
                    {
                      path: 'kernel-small-debug-shell-overview',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-overview.vue'),
                      name: 'kernel-small-debug-shell-overview',
                      meta: { title: 'Shell介绍' }
                    },
                    {
                      path: 'kernel-small-debug-shell-guide',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-guide.vue'),
                      name: 'kernel-small-debug-shell-guide',
                      meta: { title: 'Shell命令开发指导' }
                    },
                    {
                      path: 'menkernel-small-debug-shell-buildu1',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-build.vue'),
                      name: 'kernel-small-debug-shell-build',
                      meta: { title: 'Shell命令编程实例' }
                    },
                    {
                      path: 'device-dev-kernel-2-4-1-1',
                      component: () => import('/@/views/documents/device-dev/index.vue'),
                      name: 'device-dev-kernel-2-4-1-1',
                      redirect: 'noRedirect',
                      meta: { title: 'Shell命令使用详解' },
                      children: [
                        {
                          path: 'device-dev-kernel-2-4-1-1-1',
                          component: () => import('/@/views/documents/device-dev/index.vue'),
                          name: 'device-dev-kernel-2-4-1-1-1',
                          redirect: 'noRedirect',
                          meta: { title: '系统命令' },
                          children: [
                            {
                              path: 'kernel-small-debug-shell-cmd-cpup',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-cpup.vue'),
                              name: 'kernel-small-debug-shell-cmd-cpup',
                              meta: { title: 'cpup' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-date',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-date.vue'),
                              name: 'kernel-small-debug-shell-cmd-date',
                              meta: { title: 'date' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-dmesg',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-dmesg.vue'),
                              name: 'kernel-small-debug-shell-cmd-dmesg',
                              meta: { title: 'dmesg' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-exec',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-exec.vue'),
                              name: 'kernel-small-debug-shell-cmd-exec',
                              meta: { title: 'exec' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-free',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-free.vue'),
                              name: 'kernel-small-debug-shell-cmd-free',
                              meta: { title: 'free' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-help',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-help.vue'),
                              name: 'kernel-small-debug-shell-cmd-help',
                              meta: { title: 'help' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-hwi',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-hwi.vue'),
                              name: 'kernel-small-debug-shell-cmd-hwi',
                              meta: { title: 'hwi' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-kill',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-kill.vue'),
                              name: 'kernel-small-debug-shell-cmd-kill',
                              meta: { title: 'kill' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-log',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-log.vue'),
                              name: 'kernel-small-debug-shell-cmd-log',
                              meta: { title: 'log' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-memcheck',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-memcheck.vue'),
                              name: 'kernel-small-debug-shell-cmd-memcheck',
                              meta: { title: 'memcheck' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-oom',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-oom.vue'),
                              name: 'kernel-small-debug-shell-cmd-oom',
                              meta: { title: 'oom' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-pmm',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-pmm.vue'),
                              name: 'kernel-small-debug-shell-cmd-pmm',
                              meta: { title: 'pmm' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-reset',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-reset.vue'),
                              name: 'kernel-small-debug-shell-cmd-reset',
                              meta: { title: 'reset' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-sem',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-sem.vue'),
                              name: 'kernel-small-debug-shell-cmd-sem',
                              meta: { title: 'sem' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-stack',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-stack.vue'),
                              name: 'kernel-small-debug-shell-cmd-stack',
                              meta: { title: 'stack' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-su',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-su.vue'),
                              name: 'kernel-small-debug-shell-cmd-su',
                              meta: { title: 'su' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-swtmr',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-swtmr.vue'),
                              name: 'kernel-small-debug-shell-cmd-swtmr',
                              meta: { title: 'swtmr' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-sysinfo',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-sysinfo.vue'),
                              name: 'kernel-small-debug-shell-cmd-sysinfo',
                              meta: { title: 'systeminfo' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-task',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-task.vue'),
                              name: 'kernel-small-debug-shell-cmd-task',
                              meta: { title: 'task' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-uname',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-uname.vue'),
                              name: 'kernel-small-debug-shell-cmd-uname',
                              meta: { title: 'uname' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-vmm',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-vmm.vue'),
                              name: 'kernel-small-debug-shell-cmd-vmm',
                              meta: { title: 'vmm' }
                            },
                            {
                              path: 'kernel-small-debug-shell-cmd-watch',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-cmd-watch.vue'),
                              name: 'kernel-small-debug-shell-cmd-watch',
                              meta: { title: 'watch' }
                            }
                          ]
                        },
                        {
                          path: 'device-dev-kernel-2-4-1-1-2',
                          component: () => import('/@/views/documents/device-dev/index.vue'),
                          name: 'device-dev-kernel-2-4-1-1-2',
                          redirect: 'noRedirect',
                          meta: { title: '文件命令' },
                          children: [
                            {
                              path: 'kernel-small-debug-shell-file-cat',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-cat.vue'),
                              name: 'kernel-small-debug-shell-file-cat',
                              meta: { title: 'cat' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-cd',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-cd.vue'),
                              name: 'kernel-small-debug-shell-file-cd',
                              meta: { title: 'cd' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-chgrp',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-chgrp.vue'),
                              name: 'kernel-small-debug-shell-file-chgrp',
                              meta: { title: 'chgrp' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-chmod',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-chmod.vue'),
                              name: 'kernel-small-debug-shell-file-chmod',
                              meta: { title: 'chmod' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-chown',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-chown.vue'),
                              name: 'kernel-small-debug-shell-file-chown',
                              meta: { title: 'chown' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-cp',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-cp.vue'),
                              name: 'kernel-small-debug-shell-file-cp',
                              meta: { title: 'cp' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-format',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-format.vue'),
                              name: 'kernel-small-debug-shell-file-format',
                              meta: { title: 'format' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-ls',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-ls.vue'),
                              name: 'kernel-small-debug-shell-file-ls',
                              meta: { title: 'ls' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-lsfd',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-lsfd.vue'),
                              name: 'kernel-small-debug-shell-file-lsfd',
                              meta: { title: 'lsfd' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-mkdir',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-mkdir.vue'),
                              name: 'kernel-small-debug-shell-file-mkdir',
                              meta: { title: 'mkdir' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-mount',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-mount.vue'),
                              name: 'kernel-small-debug-shell-file-mount',
                              meta: { title: 'mount' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-partinfo',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-partinfo.vue'),
                              name: 'kernel-small-debug-shell-file-partinfo',
                              meta: { title: 'partinfo' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-partition',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-partition.vue'),
                              name: 'kernel-small-debug-shell-file-partition',
                              meta: { title: 'partition' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-pwd',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-pwd.vue'),
                              name: 'kernel-small-debug-shell-file-pwd',
                              meta: { title: 'pwd' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-rm',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-rm.vue'),
                              name: 'kernel-small-debug-shell-file-rm',
                              meta: { title: 'rm' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-rmdir',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-rmdir.vue'),
                              name: 'kernel-small-debug-shell-file-rmdir',
                              meta: { title: 'rmdir' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-statfs',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-statfs.vue'),
                              name: 'kernel-small-debug-shell-file-statfs',
                              meta: { title: 'statfs' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-sync',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-sync.vue'),
                              name: 'kernel-small-debug-shell-file-sync',
                              meta: { title: 'sync' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-touch',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-touch.vue'),
                              name: 'kernel-small-debug-shell-file-touch',
                              meta: { title: 'touch' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-write',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-write.vue'),
                              name: 'kernel-small-debug-shell-file-write',
                              meta: { title: 'writeproc' }
                            },
                            {
                              path: 'kernel-small-debug-shell-file-umount',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-file-umount.vue'),
                              name: 'kernel-small-debug-shell-file-umount',
                              meta: { title: 'umount' }
                            }
                          ]
                        },
                        {
                          path: 'device-dev-kernel-2-4-1-1-3',
                          component: () => import('/@/views/documents/device-dev/index.vue'),
                          name: 'device-dev-kernel-2-4-1-1-3',
                          redirect: 'noRedirect',
                          meta: { title: '网络命令' },
                          children: [
                            {
                              path: 'kernel-small-debug-shell-net-arp',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-net-arp.vue'),
                              name: 'kernel-small-debug-shell-net-arp',
                              meta: { title: 'arp' }
                            },
                            {
                              path: 'kernel-small-debug-shell-net-dhclient',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-net-dhclient.vue'),
                              name: 'kernel-small-debug-shell-net-dhclient',
                              meta: { title: 'dhclient' }
                            },
                            {
                              path: 'kernel-small-debug-shell-net-dns',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-net-dns.vue'),
                              name: 'kernel-small-debug-shell-net-dns',
                              meta: { title: 'dns' }
                            },
                            {
                              path: 'kernel-small-debug-shell-net-ifconfig',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-net-ifconfig.vue'),
                              name: 'kernel-small-debug-shell-net-ifconfig',
                              meta: { title: 'ifconfig' }
                            },
                            {
                              path: 'kernel-small-debug-shell-net-ipdebug',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-net-ipdebug.vue'),
                              name: 'kernel-small-debug-shell-net-ipdebug',
                              meta: { title: 'ipdebug' }
                            },
                            {
                              path: 'kernel-small-debug-shell-net-netstat',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-net-netstat.vue'),
                              name: 'kernel-small-debug-shell-net-netstat',
                              meta: { title: 'netstat' }
                            },
                            {
                              path: 'kernel-small-debug-shell-net-ntpdate',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-net-ntpdate.vue'),
                              name: 'kernel-small-debug-shell-net-ntpdate',
                              meta: { title: 'ntpdate' }
                            },
                            {
                              path: 'kernel-small-debug-shell-net-ping',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-net-ping.vue'),
                              name: 'kernel-small-debug-shell-net-ping',
                              meta: { title: 'ping' }
                            },
                            {
                              path: 'kernel-small-debug-shell-net-ping6',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-net-ping6.vue'),
                              name: 'kernel-small-debug-shell-net-ping6',
                              meta: { title: 'ping6' }
                            },
                            {
                              path: 'kernel-small-debug-shell-net-telnet',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-net-telnet.vue'),
                              name: 'kernel-small-debug-shell-net-telnet',
                              meta: { title: 'telnet' }
                            },
                            {
                              path: 'kernel-small-debug-shell-net-tftp',
                              component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-net-tftp.vue'),
                              name: 'kernel-small-debug-shell-net-tftp',
                              meta: { title: 'tftp' }
                            }
                          ]
                        }
                      ]
                    },
                    {
                      path: 'kernel-small-debug-shell-magickey',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-magickey.vue'),
                      name: 'kernel-small-debug-shell-magickey',
                      meta: { title: '魔法键使用方法' }
                    },
                    {
                      path: 'kernel-small-debug-shell-error',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-shell-error.vue'),
                      name: 'kernel-small-debug-shell-error',
                      meta: { title: '用户态异常信息说明' }
                    }
                  ]
                },
                {
                  path: 'kernel-small-debug-trace',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-trace.vue'),
                  name: 'kernel-small-debug-trace',
                  meta: { title: 'Trace' }
                },
                {
                  path: 'kernel-small-debug-process-cpu',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-process-cpu.vue'),
                  name: 'kernel-small-debug-process-cpu',
                  meta: { title: '进程调测-CPU占用率' }
                },
                {
                  path: 'device-dev-kernel-2-4-2',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-2-4-2',
                  redirect: 'noRedirect',
                  meta: { title: '内存调测' },
                  children: [
                    {
                      path: 'kernel-small-debug-memory-info',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-memory-info.vue'),
                      name: 'kernel-small-debug-memory-info',
                      meta: { title: '内存信息统计' }
                    },
                    {
                      path: 'kernel-small-debug-memory-leak',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-memory-leak.vue'),
                      name: 'kernel-small-debug-memory-leak',
                      meta: { title: '内存泄漏检测' }
                    },
                    {
                      path: 'kernel-small-debug-memory-corrupt',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-memory-corrupt.vue'),
                      name: 'kernel-small-debug-memory-corrupt',
                      meta: { title: '踩内存检测' }
                    }
                  ]
                },
                {
                  path: 'device-dev-kernel-2-4-3',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-kernel-2-4-3',
                  redirect: 'noRedirect',
                  meta: { title: '其他内核调测手段' },
                  children: [
                    {
                      path: 'kernel-small-debug-trace-other-lastwords',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-trace-other-lastwords.vue'),
                      name: 'kernel-small-debug-trace-other-lastwords',
                      meta: { title: '临终遗言' }
                    },
                    {
                      path: 'kernel-small-debug-trace-other-faqs',
                      component: () => import('/@/views/documents/device-dev/kernel/kernel-small-debug-trace-other-faqs.vue'),
                      name: 'kernel-small-debug-trace-other-faqs',
                      meta: { title: '常见问题定位方法' }
                    }
                  ]
                }
              ]
            },
            {
              path: 'device-dev-kernel-2-5',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-kernel-2-5',
              redirect: 'noRedirect',
              meta: { title: '附录' },
              children: [
                {
                  path: 'kernel-small-apx-dll',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-apx-dll.vue'),
                  name: 'kernel-small-apx-dll',
                  meta: { title: '基本数据结构-双向链表' }
                },
                {
                  path: 'kernel-small-apx-bitwise',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-apx-bitwise.vue'),
                  name: 'kernel-small-apx-bitwise',
                  meta: { title: '基本数据结构-位操作' }
                },
                {
                  path: 'kernel-small-apx-library',
                  component: () => import('/@/views/documents/device-dev/kernel/kernel-small-apx-library.vue'),
                  name: 'kernel-small-apx-library',
                  meta: { title: '标准库' }
                }
              ]
            }
          ]
        },
        {
          path: 'device-dev-kernel-3',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-kernel-3',
          redirect: 'noRedirect',
          meta: { title: '标准系统内核' },
          children: [
            {
              path: 'kernel-standard-overview',
              component: () => import('/@/views/documents/device-dev/kernel/kernel-standard-overview.vue'),
              name: 'kernel-standard-overview',
              meta: { title: 'Linux内核概述' }
            },
            {
              path: 'kernel-standard-patch',
              component: () => import('/@/views/documents/device-dev/kernel/kernel-standard-patch.vue'),
              name: 'kernel-standard-patch',
              meta: { title: 'OpenHarmony开发板Patch使用指导' }
            },
            {
              path: 'kernel-standard-build',
              component: () => import('/@/views/documents/device-dev/kernel/kernel-standard-build.vue'),
              name: 'kernel-standard-build',
              meta: { title: 'Linux内核编译与构建指导' }
            }
          ]
        }
      ]
    },
    // 设备开发-驱动
    {
      path: 'device-dev-driver',
      component: () => import('/@/views/documents/device-dev/index.vue'),
      name: 'device-dev-driver',
      redirect: 'noRedirect',
      meta: { title: '设备开发-驱动' },
      children: [
        {
          path: 'device-dev-driver-1',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-driver-1',
          redirect: 'noRedirect',
          meta: { title: 'HDF驱动框架' },
          children: [
            {
              path: 'driver-hdf-overview',
              component: () => import('/@/views/documents/device-dev/driver/driver-hdf-overview.vue'),
              name: 'driver-hdf-overview',
              meta: { title: 'HDF开发概述' }
            },
            {
              path: 'driver-hdf-development',
              component: () => import('/@/views/documents/device-dev/driver/driver-hdf-development.vue'),
              name: 'driver-hdf-development',
              meta: { title: '驱动开发' }
            },
            {
              path: 'driver-hdf-servicemanage',
              component: () => import('/@/views/documents/device-dev/driver/driver-hdf-servicemanage.vue'),
              name: 'driver-hdf-servicemanage',
              meta: { title: '驱动服务管理' }
            },
            {
              path: 'driver-hdf-news',
              component: () => import('/@/views/documents/device-dev/driver/driver-hdf-news.vue'),
              name: 'driver-hdf-news',
              meta: { title: '驱动消息机制管理' }
            },
            {
              path: 'driver-hdf-manage',
              component: () => import('/@/views/documents/device-dev/driver/driver-hdf-manage.vue'),
              name: 'driver-hdf-manage',
              meta: { title: '配置管理' }
            },
            {
              path: 'driver-hdf-sample',
              component: () => import('/@/views/documents/device-dev/driver/driver-hdf-sample.vue'),
              name: 'driver-hdf-sample',
              meta: { title: 'HDF开发实例' }
            }
          ]
        },
        {
          path: 'device-dev-driver-2',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-driver-2',
          redirect: 'noRedirect',
          meta: { title: '平台驱动开发' },
          children: [
            {
              path: 'driver-platform-gpio-develop',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-gpio-develop.vue'),
              name: 'driver-platform-gpio-develop',
              meta: { title: 'GPIO' }
            },
            {
              path: 'driver-platform-i2c-develop',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-i2c-develop.vue'),
              name: 'driver-platform-i2c-develop',
              meta: { title: 'I2C' }
            },
            {
              path: 'driver-platform-rtc-develop',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-rtc-develop.vue'),
              name: 'driver-platform-rtc-develop',
              meta: { title: 'RTC' }
            },
            {
              path: 'driver-platform-sdio-develop',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-sdio-develop.vue'),
              name: 'driver-platform-sdio-develop',
              meta: { title: 'SDIO' }
            },
            {
              path: 'driver-platform-spi-develop',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-spi-develop.vue'),
              name: 'driver-platform-spi-develop',
              meta: { title: 'SPI' }
            },
            {
              path: 'driver-platform-uart-develop',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-uart-develop.vue'),
              name: 'driver-platform-uart-develop',
              meta: { title: 'UART' }
            },
            {
              path: 'driver-platform-watchdog-develop',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-watchdog-develop.vue'),
              name: 'driver-platform-watchdog-develop',
              meta: { title: 'WATCHDOG' }
            },
            {
              path: 'driver-platform-mipidsi-develop',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-mipidsi-develop.vue'),
              name: 'driver-platform-mipidsi-develop',
              meta: { title: 'MIPI_DSI' }
            },
            {
              path: 'driver-platform-mmc-develop',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-mmc-develop.vue'),
              name: 'driver-platform-mmc-develop',
              meta: { title: 'MMC' }
            },
            {
              path: 'driver-platform-pwm-develop',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-pwm-develop.vue'),
              name: 'driver-platform-pwm-develop',
              meta: { title: 'PWM' }
            },
            {
              path: 'driver-platform-adc-develop',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-adc-develop.vue'),
              name: 'driver-platform-adc-develop',
              meta: { title: 'ADC' }
            }
          ]
        },
        {
          path: 'device-dev-driver-3',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-driver-3',
          redirect: 'noRedirect',
          meta: { title: '平台驱动使用' },
          children: [
            {
              path: 'driver-platform-gpio-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-gpio-des.vue'),
              name: 'driver-platform-gpio-des',
              meta: { title: 'GPIO' }
            },
            {
              path: 'driver-platform-i2c-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-i2c-des.vue'),
              name: 'driver-platform-i2c-des',
              meta: { title: 'I2C' }
            },
            {
              path: 'driver-platform-rtc-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-rtc-des.vue'),
              name: 'driver-platform-rtc-des',
              meta: { title: 'RTC' }
            },
            {
              path: 'driver-platform-sdio-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-sdio-des.vue'),
              name: 'driver-platform-sdio-des',
              meta: { title: 'SDIO' }
            },
            {
              path: 'driver-platform-spi-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-spi-des.vue'),
              name: 'driver-platform-spi-des',
              meta: { title: 'SPI' }
            },
            {
              path: 'driver-platform-uart-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-uart-des.vue'),
              name: 'driver-platform-uart-des',
              meta: { title: 'UART' }
            },
            {
              path: 'driver-platform-watchdog-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-watchdog-des.vue'),
              name: 'driver-platform-watchdog-des',
              meta: { title: 'WATCHDOG' }
            },
            {
              path: 'driver-platform-mipidsi-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-platform-mipidsi-des.vue'),
              name: 'driver-platform-mipidsi-des',
              meta: { title: 'MIPI DSI' }
            }
          ]
        },
        {
          path: 'device-dev-driver-4',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-driver-4',
          redirect: 'noRedirect',
          meta: { title: '外设驱动开发' },
          children: [
            {
              path: 'driver-peripherals-lcd-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-peripherals-lcd-des.vue'),
              name: 'driver-peripherals-lcd-des',
              meta: { title: 'LCD' }
            },
            {
              path: 'driver-peripherals-touch-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-peripherals-touch-des.vue'),
              name: 'driver-peripherals-touch-des',
              meta: { title: 'TOUCHSCREEN' }
            },
            {
              path: 'driver-peripherals-sensor-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-peripherals-sensor-des.vue'),
              name: 'driver-peripherals-sensor-des',
              meta: { title: 'SENSOR' }
            },
            {
              path: 'driver-peripherals-external-des',
              component: () => import('/@/views/documents/device-dev/driver/driver-peripherals-external-des.vue'),
              name: 'driver-peripherals-external-des',
              meta: { title: 'WLAN' }
            }
          ]
        }
      ]
    },
    // 设备开发-子系统
    {
      path: 'device-dev-subsystem',
      component: () => import('/@/views/documents/device-dev/index.vue'),
      name: 'device-dev-subsystem',
      redirect: 'noRedirect',
      meta: { title: '设备开发-子系统' },
      children: [
        {
          path: 'device-dev-subsystem-1',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-1',
          redirect: 'noRedirect',
          meta: { title: '编译构建' },
          children: [
            {
              path: 'subsys-build-mini-lite',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-build-mini-lite.vue'),
              name: 'subsys-build-mini-lite',
              meta: { title: '轻量和小型系统编译构建指导' }
            },
            {
              path: 'subsys-build-standard-large',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-build-standard-large.vue'),
              name: 'subsys-build-standard-large',
              meta: { title: '标准系统编译构建指导' }
            }
          ]
        },
        {
          path: 'subsys-remote-start',
          component: () => import('/@/views/documents/device-dev/subsystems/subsys-remote-start.vue'),
          name: 'subsys-remote-start',
          meta: { title: '分布式远程启动' }
        },
        {
          path: 'device-dev-subsystem-2',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-2',
          redirect: 'noRedirect',
          meta: { title: '图形图像' },
          children: [
            {
              path: 'subsys-graphics-overview',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-graphics-overview.vue'),
              name: 'subsys-graphics-overview',
              meta: { title: '图形图像概述' }
            },
            {
              path: 'subsys-graphics-container-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-graphics-container-guide.vue'),
              name: 'subsys-graphics-container-guide',
              meta: { title: '容器类组件开发指导' }
            },
            {
              path: 'subsys-graphics-layout-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-graphics-layout-guide.vue'),
              name: 'subsys-graphics-layout-guide',
              meta: { title: '布局容器类组件开发指导' }
            },
            {
              path: 'subsys-graphics-common-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-graphics-common-guide.vue'),
              name: 'subsys-graphics-common-guide',
              meta: { title: '普通组件开发指导' }
            },
            {
              path: 'subsys-graphics-animation-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-graphics-animation-guide.vue'),
              name: 'subsys-graphics-animation-guide',
              meta: { title: '动画开发指导' }
            }
          ]
        },
        {
          path: 'device-dev-subsystem-3',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-3',
          redirect: 'noRedirect',
          meta: { title: '相机' },
          children: [
            {
              path: 'subsys-multimedia-camera-overview',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-multimedia-camera-overview.vue'),
              name: 'subsys-multimedia-camera-overview',
              meta: { title: '相机开发概述' }
            },
            {
              path: 'subsys-multimedia-camera-photo-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-multimedia-camera-photo-guide.vue'),
              name: 'subsys-multimedia-camera-photo-guide',
              meta: { title: '拍照开发指导' }
            },
            {
              path: 'subsys-multimedia-camera-record-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-multimedia-camera-record-guide.vue'),
              name: 'subsys-multimedia-camera-record-guide',
              meta: { title: '录像开发指导' }
            },
            {
              path: 'subsys-multimedia-camera-preview-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-multimedia-camera-preview-guide.vue'),
              name: 'subsys-multimedia-camera-preview-guide',
              meta: { title: '预览开发指导' }
            }
          ]
        },
        {
          path: 'device-dev-subsystem-4',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-4',
          redirect: 'noRedirect',
          meta: { title: '音视频' },
          children: [
            {
              path: 'subsys-multimedia-video-overview',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-multimedia-video-overview.vue'),
              name: 'subsys-multimedia-video-overview',
              meta: { title: '音视频开发概述' }
            },
            {
              path: 'subsys-multimedia-video-play-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-multimedia-video-play-guide.vue'),
              name: 'subsys-multimedia-video-play-guide',
              meta: { title: '音视频播放开发指导' }
            },
            {
              path: 'subsys-multimedia-video-record-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-multimedia-video-record-guide.vue'),
              name: 'subsys-multimedia-video-record-guide',
              meta: { title: '音视频录制开发指导' }
            }
          ]
        },
        {
          path: 'device-dev-subsystem-5',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-5',
          redirect: 'noRedirect',
          meta: { title: '公共基础' },
          children: [
            {
              path: 'subsys-utils-overview',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-utils-overview.vue'),
              name: 'subsys-utils-overview',
              meta: { title: '公共基础库概述' }
            },
            {
              path: 'subsys-utils-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-utils-guide.vue'),
              name: 'subsys-utils-guide',
              meta: { title: '公共基础库开发指导' }
            },
            {
              path: 'subsys-utils-faqs',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-utils-faqs.vue'),
              name: 'subsys-utils-faqs',
              meta: { title: '公共基础库常见问题' }
            }
          ]
        },
        {
          path: 'device-dev-subsystem-6',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-6',
          redirect: 'noRedirect',
          meta: { title: 'AI框架' },
          children: [
            {
              path: 'subsystems/subsys-aiframework-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-aiframework-guide.vue'),
              name: 'subsystems/subsys-aiframework-guide',
              meta: { title: 'AI引擎框架开发指南' }
            },
            {
              path: 'subsys-aiframework-envbuild',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-aiframework-envbuild.vue'),
              name: 'subsys-aiframework-envbuild',
              meta: { title: '搭建环境' }
            },
            {
              path: 'device-dev-subsystem-6-1',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-subsystem-6-1',
              redirect: 'noRedirect',
              meta: { title: '技术规范' },
              children: [
                {
                  path: 'subsys-aiframework-tech-codemanage',
                  component: () => import('/@/views/documents/device-dev/subsystems/subsys-aiframework-tech-codemanage.vue'),
                  name: 'subsys-aiframework-tech-codemanage',
                  meta: { title: '代码管理规范' }
                },
                {
                  path: 'subsys-aiframework-tech-name',
                  component: () => import('/@/views/documents/device-dev/subsystems/subsys-aiframework-tech-name.vue'),
                  name: 'subsys-aiframework-tech-name',
                  meta: { title: '命名规范' }
                },
                {
                  path: 'subsys-aiframework-tech-interface',
                  component: () => import('/@/views/documents/device-dev/subsystems/subsys-aiframework-tech-interface.vue'),
                  name: 'subsys-aiframework-tech-interface',
                  meta: { title: '接口开发规范' }
                }
              ]
            },
            {
              path: 'device-dev-subsystem-6-2',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-subsystem-6-2',
              redirect: 'noRedirect',
              meta: { title: '开发指导' },
              children: [
                {
                  path: 'subsys-aiframework-devguide-sdk',
                  component: () => import('/@/views/documents/device-dev/subsystems/subsys-aiframework-devguide-sdk.vue'),
                  name: 'subsys-aiframework-devguide-sdk',
                  meta: { title: 'SDK开发过程' }
                },
                {
                  path: 'subsys-aiframework-devguide-plugin',
                  component: () => import('/@/views/documents/device-dev/subsystems/subsys-aiframework-devguide-plugin.vue'),
                  name: 'subsys-aiframework-devguide-plugin',
                  meta: { title: '插件的开发过程' }
                },
                {
                  path: 'subsys-aiframework-devguide-conf',
                  component: () => import('/@/views/documents/device-dev/subsystems/subsys-aiframework-devguide-conf.vue'),
                  name: 'subsys-aiframework-devguide-conf',
                  meta: { title: '配置文件的开发过程' }
                }
              ]
            },
            {
              path: 'device-dev-subsystem-6-3',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-subsystem-6-3',
              redirect: 'noRedirect',
              meta: { title: '开发示例' },
              children: [
                {
                  path: 'subsys-aiframework-demo-sdk',
                  component: () => import('/@/views/documents/device-dev/subsystems/subsys-aiframework-demo-sdk.vue'),
                  name: 'subsys-aiframework-demo-sdk',
                  meta: { title: '唤醒词识别SDK的开发示例' }
                },
                {
                  path: 'subsys-aiframework-demo-plugin',
                  component: () => import('/@/views/documents/device-dev/subsystems/subsys-aiframework-demo-plugin.vue'),
                  name: 'subsys-aiframework-demo-plugin',
                  meta: { title: '唤醒词识别插件的开发示例' }
                },
                {
                  path: 'subsys-aiframework-demo-conf',
                  component: () => import('/@/views/documents/device-dev/subsystems/subsys-aiframework-demo-conf.vue'),
                  name: 'subsys-aiframework-demo-conf',
                  meta: { title: '唤醒词识别配置文件的开发示例' }
                }
              ]
            }
          ]
        },
        {
          path: 'device-dev-subsystem-7',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-7',
          redirect: 'noRedirect',
          meta: { title: 'Sensor服务' },
          children: [
            {
              path: 'subsys-sensor-overview',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-sensor-overview.vue'),
              name: 'subsys-sensor-overview',
              meta: { title: 'Sensor服务子系概述' }
            },
            {
              path: 'subsys-sensor-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-sensor-guide.vue'),
              name: 'subsys-sensor-guide',
              meta: { title: 'Sensor服务子系使用指导' }
            },
            {
              path: 'subsys-sensor-demo',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-sensor-demo.vue'),
              name: 'subsys-sensor-demo',
              meta: { title: 'Sensor服务子系使用实例' }
            }
          ]
        },
        {
          path: 'device-dev-subsystem-8',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-8',
          redirect: 'noRedirect',
          meta: { title: '用户程序框架' },
          children: [
            {
              path: 'subsys-application-framework-overview',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-application-framework-overview.vue'),
              name: 'subsys-application-framework-overview',
              meta: { title: '概述' }
            },
            {
              path: 'subsys-application-framework-envbuild',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-application-framework-envbuild.vue'),
              name: 'subsys-application-framework-envbuild',
              meta: { title: '搭建环境' }
            },
            {
              path: 'subsys-application-framework-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-application-framework-guide.vue'),
              name: 'subsys-application-framework-guide',
              meta: { title: '开发指导' }
            },
            {
              path: 'subsys-application-framework-demo',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-application-framework-demo.vue'),
              name: 'subsys-application-framework-demo',
              meta: { title: '开发实例' }
            }
          ]
        },
        {
          path: 'subsys-ota-guide',
          component: () => import('/@/views/documents/device-dev/subsystems/subsys-ota-guide.vue'),
          name: 'subsys-ota-guide',
          meta: { title: 'OTA升级' }
        },
        {
          path: 'device-dev-subsystem-9',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-9',
          redirect: 'noRedirect',
          meta: { title: '安全' },
          children: [
            {
              path: 'subsys-security-overview',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-security-overview.vue'),
              name: 'subsys-security-overview',
              meta: { title: '概述' }
            },
            {
              path: 'subsys-security-sigverify',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-security-sigverify.vue'),
              name: 'subsys-security-sigverify',
              meta: { title: '应用验签开发指导' }
            },
            {
              path: 'subsys-security-rightmanagement',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-security-rightmanagement.vue'),
              name: 'subsys-security-rightmanagement',
              meta: { title: '应用权限管理开发指导' }
            },
            {
              path: 'subsys-security-communicationverify',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-security-communicationverify.vue'),
              name: 'subsys-security-communicationverify',
              meta: { title: 'IPC通信鉴权开发指导' }
            }
          ]
        },
        {
          path: 'device-dev-subsystem-10',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-10',
          redirect: 'noRedirect',
          meta: { title: '启动恢复' },
          children: [
            {
              path: 'subsys-boot-overview',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-boot-overview.vue'),
              name: 'subsys-boot-overview',
              meta: { title: '启动恢复子系统概述' }
            },
            {
              path: 'subsys-boot-init',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-boot-init.vue'),
              name: 'subsys-boot-init',
              meta: { title: 'init启动引导组件' }
            },
            {
              path: 'subsys-boot-appspawn',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-boot-appspawn.vue'),
              name: 'subsys-boot-appspawn',
              meta: { title: 'appspawn应用孵化组件' }
            },
            {
              path: 'subsys-boot-bootstrap',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-boot-bootstrap.vue'),
              name: 'subsys-boot-bootstrap',
              meta: { title: 'bootstrap服务启动组件' }
            },
            {
              path: 'subsys-boot-syspara',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-boot-syspara.vue'),
              name: 'subsys-boot-syspara',
              meta: { title: 'syspara系统属性组件' }
            },
            {
              path: 'subsys-boot-faqs',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-boot-faqs.vue'),
              name: 'subsys-boot-faqs',
              meta: { title: '常见问题' }
            },
            {
              path: 'subsys-boot-ref',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-boot-ref.vue'),
              name: 'subsys-boot-ref',
              meta: { title: '参考' }
            }
          ]
        },
        {
          path: 'subsys-testguide-test',
          component: () => import('/@/views/documents/device-dev/subsystems/subsys-testguide-test.vue'),
          name: 'subsys-testguide-test',
          meta: { title: '测试用例开发指导' }
        },
        {
          path: 'device-dev-subsystem-11',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-11',
          redirect: 'noRedirect',
          meta: { title: 'DFX' },
          children: [
            {
              path: 'subsys-dfx-overview',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-dfx-overview.vue'),
              name: 'subsys-dfx-overview',
              meta: { title: 'DFX概述' }
            },
            {
              path: 'subsys-dfx-hilog-rich',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-dfx-hilog-rich.vue'),
              name: 'subsys-dfx-hilog-rich',
              meta: { title: 'HiLog开发指导' }
            },
            {
              path: 'subsys-dfx-hilog-lite',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-dfx-hilog-lite.vue'),
              name: 'subsys-dfx-hilog-lite',
              meta: { title: 'HiLog_Lite开发指导' }
            },
            {
              path: 'subsys-dfx-hisysevent',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-dfx-hisysevent.vue'),
              name: 'subsys-dfx-hisysevent',
              meta: { title: 'HiSysEvent开发指导' }
            }
          ]
        },
        {
          path: 'device-dev-subsystem-12',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-subsystem-12',
          redirect: 'noRedirect',
          meta: { title: '研发工具链' },
          children: [
            {
              path: 'subsys-toolchain-bytrace-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-toolchain-bytrace-guide.vue'),
              name: 'subsys-toolchain-bytrace-guide',
              meta: { title: 'bytrace使用指导' }
            },
            {
              path: 'subsys-toolchain-hdc-guide',
              component: () => import('/@/views/documents/device-dev/subsystems/subsys-toolchain-hdc-guide.vue'),
              name: 'subsys-toolchain-hdc-guide',
              meta: { title: 'hdc_std 使用指导' }
            }
          ]
        },
        {
          path: 'subsys-xts-guide',
          component: () => import('/@/views/documents/device-dev/subsystems/subsys-xts-guide.vue'),
          name: 'subsys-xts-guide',
          meta: { title: 'XTS认证用例开发指导' }
        }
      ]
    },
    // 设备开发-隐私和安全
    {
      path: 'device-dev-privacy',
      component: () => import('/@/views/documents/device-dev/index.vue'),
      name: 'device-dev-privacy',
      redirect: 'noRedirect',
      meta: { title: '设备开发-隐私和安全' },
      children: [
        {
          path: 'security-privacy-protection',
          component: () => import('/@/views/documents/device-dev/security/security-privacy-protection.vue'),
          name: 'security-privacy-protection',
          meta: { title: '隐私保护' }
        },
        {
          path: 'security-guidelines-overall',
          component: () => import('/@/views/documents/device-dev/security/security-guidelines-overall.vue'),
          name: 'security-guidelines-overall',
          meta: { title: '安全指南' }
        }
      ]
    },
    // 设备开发-开发示例
    {
      path: 'device-dev-guide',
      component: () => import('/@/views/documents/device-dev/index.vue'),
      name: 'device-dev-guide',
      redirect: 'noRedirect',
      meta: { title: '设备开发-开发示例' },
      children: [
        {
          path: 'device-dev-guide-1',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-guide-1',
          redirect: 'noRedirect',
          meta: { title: '轻量和小型系统设备' },
          children: [
            {
              path: 'device-dev-guide-1-1',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-guide-1-1',
              redirect: 'noRedirect',
              meta: { title: 'WLAN连接类产品' },
              children: [
                {
                  path: 'oem_wifi_sdk_des',
                  component: () => import('/@/views/documents/device-dev/guide/oem_wifi_sdk_des.vue'),
                  name: 'oem_wifi_sdk_des',
                  meta: { title: 'LED外设控制' }
                },
                {
                  path: 'device-wlan-sdk',
                  component: () => import('/@/views/documents/device-dev/guide/device-wlan-sdk.vue'),
                  name: 'device-wlan-sdk',
                  meta: { title: '集成三方SDK' }
                }
              ]
            },
            {
              path: 'device-dev-guide-1-2',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-guide-1-2',
              redirect: 'noRedirect',
              meta: { title: '无屏摄像头类产品' },
              children: [
                {
                  path: 'device-iotcamera-control-overview',
                  component: () => import('/@/views/documents/device-dev/guide/device-iotcamera-control-overview.vue'),
                  name: 'device-iotcamera-control-overview',
                  meta: { title: '摄像头控制概述' }
                },
                {
                  path: 'device-iotcamera-control-demo-photodevguide',
                  component: () => import('/@/views/documents/device-dev/guide/device-iotcamera-control-demo-photodevguide.vue'),
                  name: 'device-iotcamera-control-demo-photodevguide',
                  meta: { title: '拍照开发指导' }
                },
                {
                  path: 'device-iotcamera-control-demo-videodevguide',
                  component: () => import('/@/views/documents/device-dev/guide/device-iotcamera-control-demo-videodevguide.vue'),
                  name: 'device-iotcamera-control-demo-videodevguide',
                  meta: { title: '录像开发指导' }
                },
                {
                  path: 'device-iotcamera-control-example',
                  component: () => import('/@/views/documents/device-dev/guide/device-iotcamera-control-example.vue'),
                  name: 'device-iotcamera-control-example',
                  meta: { title: '应用实例' }
                }
              ]
            },
            {
              path: 'device-dev-guide-1-3',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'device-dev-guide-1-3',
              redirect: 'noRedirect',
              meta: { title: '带屏摄像头类产品' },
              children: [
                {
                  path: 'device-dev-guide-1-3-1',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-guide-1-3-1',
                  redirect: 'noRedirect',
                  meta: { title: '屏幕和摄像头控制概述' },
                  children: [
                    {
                      path: 'device-camera-control-overview',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-control-overview.vue'),
                      name: 'device-camera-control-overview',
                      meta: { title: '概述' }
                    },
                    {
                      path: 'device-camera-control-demo-photoguide',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-control-demo-photoguide.vue'),
                      name: 'device-camera-control-demo-photoguide',
                      meta: { title: '拍照开发指导' }
                    },
                    {
                      path: 'device-camera-control-demo-videoguide',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-control-demo-videoguide.vue'),
                      name: 'device-camera-control-demo-videoguide',
                      meta: { title: '录像开发指导' }
                    },
                    {
                      path: 'device-camera-control-demo-previewguide',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-control-demo-previewguide.vue'),
                      name: 'device-camera-control-demo-previewguide',
                      meta: { title: '预览开发指导' }
                    },
                    {
                      path: 'device-camera-control-example',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-control-example.vue'),
                      name: 'device-camera-control-example',
                      meta: { title: '应用实例' }
                    }
                  ]
                },
                {
                  path: 'device-dev-guide-1-3-2',
                  component: () => import('/@/views/documents/device-dev/index.vue'),
                  name: 'device-dev-guide-1-3-2',
                  redirect: 'noRedirect',
                  meta: { title: '视觉应用开发' },
                  children: [
                    {
                      path: 'device-camera-visual-overview',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-visual-overview.vue'),
                      name: 'device-camera-visual-overview',
                      meta: { title: '概述' }
                    },
                    {
                      path: 'device-camera-visual-prepare',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-visual-prepare.vue'),
                      name: 'device-camera-visual-prepare',
                      meta: { title: '开发准备' }
                    },
                    {
                      path: 'device-camera-visual-addpage',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-visual-addpage.vue'),
                      name: 'device-camera-visual-addpage',
                      meta: { title: '添加页面' }
                    },
                    {
                      path: 'device-camera-visual-firstpage',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-visual-firstpage.vue'),
                      name: 'device-camera-visual-firstpage',
                      meta: { title: '开发首页' }
                    },
                    {
                      path: 'device-camera-visual-details',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-visual-details.vue'),
                      name: 'device-camera-visual-details',
                      meta: { title: '开发详情页' }
                    },
                    {
                      path: 'device-camera-visual-debug',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-visual-debug.vue'),
                      name: 'device-camera-visual-debug',
                      meta: { title: '调试打包' }
                    },
                    {
                      path: 'device-camera-visual-run',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-visual-run.vue'),
                      name: 'device-camera-visual-run',
                      meta: { title: '真机运行' }
                    },
                    {
                      path: 'device-camera-visual-faqs',
                      component: () => import('/@/views/documents/device-dev/guide/device-camera-visual-faqs.vue'),
                      name: 'device-camera-visual-faqs',
                      meta: { title: '常见问题' }
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          path: 'device-dev-guide-2',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-guide-2',
          redirect: 'noRedirect',
          meta: { title: '标准系统设备' },
          children: [
            {
              path: 'device-clock-guide',
              component: () => import('/@/views/documents/device-dev/guide/device-clock-guide.vue'),
              name: 'device-clock-guide',
              meta: { title: '时钟应用开发指导' }
            },
            {
              path: 'device-driver-demo',
              component: () => import('/@/views/documents/device-dev/guide/device-driver-demo.vue'),
              name: 'device-driver-demo',
              meta: { title: '平台驱动开发示例' }
            },
            {
              path: 'device-outerdriver-demo',
              component: () => import('/@/views/documents/device-dev/guide/device-outerdriver-demo.vue'),
              name: 'device-outerdriver-demo',
              meta: { title: '外设驱动开发示例' }
            }
          ]
        }
      ]
    },
    // 设备开发-移植适配
    {
      path: 'device-dev-porting',
      component: () => import('/@/views/documents/device-dev/index.vue'),
      name: 'device-dev-porting',
      redirect: 'noRedirect',
      meta: { title: '设备开发-移植适配' },
      children: [
        {
          path: 'device-dev-porting-1',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-porting-1',
          redirect: 'noRedirect',
          meta: { title: '轻量系统芯片移植指导' },
          children: [
            {
              path: 'device-dev-porting-1-1',
              component: () => import('/@/views/documents/application-dev/index.vue'),
              name: 'device-dev-porting-1-1',
              redirect: 'noRedirect',
              meta: { title: '移植准备' },
              children: [
                {
                  path: 'oem_transplant_chip_prepare_knows',
                  component: () => import('/@/views/documents/device-dev/porting/oem_transplant_chip_prepare_knows.vue'),
                  name: 'oem_transplant_chip_prepare_knows',
                  meta: { title: '移植须知' }
                },
                {
                  path: 'porting-chip-prepare-process',
                  component: () => import('/@/views/documents/device-dev/porting/porting-chip-prepare-process.vue'),
                  name: 'porting-chip-prepare-process',
                  meta: { title: '编译构建适配流程' }
                }
              ]
            },
            {
              path: 'device-dev-porting-1-2',
              component: () => import('/@/views/documents/application-dev/index.vue'),
              name: 'device-dev-porting-1-2',
              redirect: 'noRedirect',
              meta: { title: '内核移植' },
              children: [
                {
                  path: 'porting-chip-kernel-overview',
                  component: () => import('/@/views/documents/device-dev/porting/porting-chip-kernel-overview.vue'),
                  name: 'porting-chip-kernel-overview',
                  meta: { title: '移植概述' }
                },
                {
                  path: 'porting-chip-kernel-adjustment',
                  component: () => import('/@/views/documents/device-dev/porting/porting-chip-kernel-adjustment.vue'),
                  name: 'porting-chip-kernel-adjustment',
                  meta: { title: '内核基础适配' }
                },
                {
                  path: 'porting-chip-kernel-verify',
                  component: () => import('/@/views/documents/device-dev/porting/porting-chip-kernel-verify.vue'),
                  name: 'porting-chip-kernel-verify',
                  meta: { title: '内核移植验证' }
                }
              ]
            },
            {
              path: 'device-dev-porting-1-3',
              component: () => import('/@/views/documents/application-dev/index.vue'),
              name: 'device-dev-porting-1-3',
              redirect: 'noRedirect',
              meta: { title: '板级系统移植' },
              children: [
                {
                  path: 'porting-chip-board-overview',
                  component: () => import('/@/views/documents/device-dev/porting/porting-chip-board-overview.vue'),
                  name: 'porting-chip-board-overview',
                  meta: { title: '移植概述' }
                },
                {
                  path: 'porting-chip-board-driver',
                  component: () => import('/@/views/documents/device-dev/porting/porting-chip-board-driver.vue'),
                  name: 'porting-chip-board-driver',
                  meta: { title: '板级驱动适配' }
                },
                {
                  path: 'porting-chip-board-hal',
                  component: () => import('/@/views/documents/device-dev/porting/porting-chip-board-hal.vue'),
                  name: 'porting-chip-board-hal',
                  meta: { title: 'HAL层实现' }
                },
                {
                  path: 'porting-chip-board-component',
                  component: () => import('/@/views/documents/device-dev/porting/porting-chip-board-component.vue'),
                  name: 'porting-chip-board-component',
                  meta: { title: '系统组件调用' }
                },
                {
                  path: 'porting-chip-board-bundle',
                  component: () => import('/@/views/documents/device-dev/porting/porting-chip-board-bundle.vue'),
                  name: 'porting-chip-board-bundle',
                  meta: { title: '三方组件适配' }
                },
                {
                  path: 'porting-chip-board-xts',
                  component: () => import('/@/views/documents/device-dev/porting/porting-chip-board-xts.vue'),
                  name: 'porting-chip-board-xts',
                  meta: { title: 'XTS认证' }
                },
              ]
            },
            {
              path: 'porting-chip-faqs',
              component: () => import('/@/views/documents/device-dev/porting/porting-chip-faqs.vue'),
              name: 'porting-chip-faqs',
              meta: { title: '常见问题' }
            }
          ]
        },
        {
          path: 'device-dev-porting-2',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-porting-2',
          redirect: 'noRedirect',
          meta: { title: '小型系统芯片移植指导' },
          children: [
            {
              path: 'porting-smallchip-prepare-needs',
              component: () => import('/@/views/documents/device-dev/porting/porting-smallchip-prepare-needs.vue'),
              name: 'porting-smallchip-prepare-needs',
              meta: { title: '移植须知' }
            },
            {
              path: 'porting-smallchip-prepare-building',
              component: () => import('/@/views/documents/device-dev/porting/porting-smallchip-prepare-building.vue'),
              name: 'porting-smallchip-prepare-building',
              meta: { title: '编译构建' }
            },
            {
              path: 'application-dev-5',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'application-dev-5',
              redirect: 'noRedirect',
              meta: { title: '移植内核' },
              children: [
                {
                  path: 'porting-smallchip-kernel-a',
                  component: () => import('/@/views/documents/device-dev/porting/porting-smallchip-kernel-a.vue'),
                  name: 'porting-smallchip-kernel-a',
                  meta: { title: 'LiteOS-A内核' }
                },
                {
                  path: 'porting-smallchip-kernel-linux',
                  component: () => import('/@/views/documents/device-dev/porting/porting-smallchip-kernel-linux.vue'),
                  name: 'porting-smallchip-kernel-linux',
                  meta: { title: 'Linux内核' }
                }
              ]
            },
            {
              path: 'application-dev-6',
              component: () => import('/@/views/documents/device-dev/index.vue'),
              name: 'application-dev-6',
              redirect: 'noRedirect',
              meta: { title: '驱动移植' },
              children: [
                {
                  path: 'porting-smallchip-driver-overview',
                  component: () => import('/@/views/documents/device-dev/porting/porting-smallchip-driver-overview.vue'),
                  name: 'porting-smallchip-driver-overview',
                  meta: { title: '移植概述' }
                },
                {
                  path: 'porting-smallchip-driver-plat',
                  component: () => import('/@/views/documents/device-dev/porting/porting-smallchip-driver-plat.vue'),
                  name: 'porting-smallchip-driver-plat',
                  meta: { title: '平台驱动移植' }
                },
                {
                  path: 'porting-smallchip-driver-oom',
                  component: () => import('/@/views/documents/device-dev/porting/porting-smallchip-driver-oom.vue'),
                  name: 'porting-smallchip-driver-oom',
                  meta: { title: '器件驱动移植' }
                }
              ]
            }
          ]
        },
        {
          path: 'standard-system-porting-guide',
          component: () => import('/@/views/documents/device-dev/porting/standard-system-porting-guide.vue'),
          name: 'standard-system-porting-guide',
          meta: { title: '标准系统移植指南' }
        },
        {
          path: 'device-dev-porting-3',
          component: () => import('/@/views/documents/device-dev/index.vue'),
          name: 'device-dev-porting-3',
          redirect: 'noRedirect',
          meta: { title: '三方库移植' },
          children: [
            {
              path: 'porting-thirdparty-overview',
              component: () => import('/@/views/documents/device-dev/porting/porting-thirdparty-overview.vue'),
              name: 'porting-thirdparty-overview',
              meta: { title: '概述' }
            },
            {
              path: 'porting-thirdparty-cmake',
              component: () => import('/@/views/documents/device-dev/porting/porting-thirdparty-cmake.vue'),
              name: 'porting-thirdparty-cmake',
              meta: { title: 'CMake方式组织编译的库移植' }
            },
            {
              path: 'porting-thirdparty-makefile',
              component: () => import('/@/views/documents/device-dev/porting/porting-thirdparty-makefile.vue'),
              name: 'porting-thirdparty-makefile',
              meta: { title: 'Makefile方式组织编译的库移植' }
            }
          ]
        }
      ]
    },
    // 设备开发-组件开发
    {
      path: 'device-dev-bundle',
      component: () => import('/@/views/documents/device-dev/index.vue'),
      name: 'device-dev-bundle',
      redirect: 'noRedirect',
      meta: { title: '设备开发-组件开发' },
      children: [
        {
          path: 'oem_bundle_standard_des',
          component: () => import('/@/views/documents/device-dev/bundles/oem_bundle_standard_des.vue'),
          name: 'oem_bundle_standard_des',
          meta: { title: '开发规范' }
        },
        {
          path: 'bundles-guide-overview',
          component: () => import('/@/views/documents/device-dev/bundles/bundles-guide-overview.vue'),
          name: 'bundles-guide-overview',
          meta: { title: '概述' }
        },
        {
          path: 'bundles-guide-prepare',
          component: () => import('/@/views/documents/device-dev/bundles/bundles-guide-prepare.vue'),
          name: 'bundles-guide-prepare',
          meta: { title: '安装hpm命令行工具' }
        },
        {
          path: 'bundles-guide-develop',
          component: () => import('/@/views/documents/device-dev/bundles/bundles-guide-develop.vue'),
          name: 'bundles-guide-develop',
          meta: { title: '开发Bundle' }
        },
        {
          path: 'bundles-demo-hpmdescription',
          component: () => import('/@/views/documents/device-dev/bundles/bundles-demo-hpmdescription.vue'),
          name: 'bundles-demo-hpmdescription',
          meta: { title: 'HPM介绍' }
        },
        {
          path: 'bundles-demo-environment',
          component: () => import('/@/views/documents/device-dev/bundles/bundles-demo-environment.vue'),
          name: 'bundles-demo-environment',
          meta: { title: '编译环境准备' }
        },
        {
          path: 'bundles-demo-devsample',
          component: () => import('/@/views/documents/device-dev/bundles/bundles-demo-devsample.vue'),
          name: 'bundles-demo-devsample',
          meta: { title: '操作实例' }
        }
      ]
    },
    // 应用开发-快速入门
    {
      path: 'application-dev-quickstart',
      component: () => import('/@/views/documents/application-dev/index.vue'),
      name: 'application-dev-quickstart',
      redirect: 'noRedirect',
      meta: { title: '应用开发-快速入门' },
      children: [
        {
          path: 'application-dev-quickstart-1',
          component: () => import('/@/views/documents/application-dev/index.vue'),
          name: 'application-dev-quickstart-1',
          redirect: 'noRedirect',
          meta: { title: 'DevEco 使用指南' },
          children: [
            {
              path: '概述',
              component: () => import('/@/views/documents/application-dev/quick-start/概述.vue'),
              name: '概述',
              meta: { title: '概述' }
            },
            {
              path: '配置OpenHarmony-SDK',
              component: () => import('/@/views/documents/application-dev/quick-start/配置OpenHarmony-SDK.vue'),
              name: '配置OpenHarmony-SDK',
              meta: { title: '配置OpenHarmony-SDK' }
            },
            {
              path: '创建OpenHarmony工程',
              component: () => import('/@/views/documents/application-dev/quick-start/创建OpenHarmony工程.vue'),
              name: '创建OpenHarmony工程',
              meta: { title: '创建OpenHarmony工程' }
            },
            {
              path: '配置OpenHarmony应用签名信息',
              component: () => import('/@/views/documents/application-dev/quick-start/配置OpenHarmony应用签名信息.vue'),
              name: '配置OpenHarmony应用签名信息',
              meta: { title: '配置OpenHarmony应用签名信息' }
            },
            {
              path: '安装运行OpenHarmony应用',
              component: () => import('/@/views/documents/application-dev/quick-start/安装运行OpenHarmony应用.vue'),
              name: '安装运行OpenHarmony应用',
              meta: { title: '安装运行OpenHarmony应用' }
            }
          ]
        },
        {
          path: '包结构说明',
          component: () => import('/@/views/documents/application-dev/quick-start/包结构说明.vue'),
          name: '包结构说明',
          meta: { title: '包结构说明' }
        },
        {
          path: '开发准备',
          component: () => import('/@/views/documents/application-dev/quick-start/开发准备.vue'),
          name: '开发准备',
          meta: { title: '开发准备' }
        },
        {
          path: '使用JS语言开发',
          component: () => import('/@/views/documents/application-dev/quick-start/使用JS语言开发.vue'),
          name: '使用JS语言开发',
          meta: { title: '使用JS语言开发' }
        }
      ]
    },
    // 应用开发-UI
    {
      path: 'application-dev-ui',
      component: () => import('/@/views/documents/application-dev/index.vue'),
      name: 'application-dev-ui',
      redirect: 'noRedirect',
      meta: { title: '应用开发-UI' },
      children: [
        {
          path: 'JS UI框架概述',
          component: () => import('/@/views/documents/application-dev/ui/JS-UI框架概述.vue'),
          name: 'Menu1-2-1',
          meta: { title: 'JS UI框架概述' }
        },
        {
          path: 'application-dev-ui-1',
          component: () => import('/@/views/documents/application-dev/index.vue'),
          name: 'application-dev-ui-1',
          redirect: 'noRedirect',
          meta: { title: '构建用户界面' },
          children: [
            {
              path: '组件介绍',
              component: () => import('/@/views/documents/application-dev/ui/组件介绍.vue'),
              name: '组件介绍',
              meta: { title: '组件介绍' }
            },
            {
              path: 'application-dev-ui-2',
              component: () => import('/@/views/documents/application-dev/index.vue'),
              name: 'application-dev-ui-2',
              redirect: 'noRedirect',
              meta: { title: '构建布局' },
              children: [
                {
                  path: '布局说明',
                  component: () => import('/@/views/documents/application-dev/ui/布局说明.vue'),
                  name: '布局说明',
                  meta: { title: '布局说明' }
                },
                {
                  path: '添加标题行和文本区域',
                  component: () => import('/@/views/documents/application-dev/ui/添加标题行和文本区域.vue'),
                  name: '添加标题行和文本区域',
                  meta: { title: '添加标题行和文本区域' }
                },
                {
                  path: '添加图片区域',
                  component: () => import('/@/views/documents/application-dev/ui/添加图片区域.vue'),
                  name: '添加图片区域',
                  meta: { title: '添加图片区域' }
                },
                {
                  path: '添加留言区域',
                  component: () => import('/@/views/documents/application-dev/ui/添加留言区域.vue'),
                  name: '添加留言区域',
                  meta: { title: '添加留言区域' }
                },
                {
                  path: '添加容器',
                  component: () => import('/@/views/documents/application-dev/ui/添加容器.vue'),
                  name: '添加容器',
                  meta: { title: '添加容器' }
                }
              ]
            },
            {
              path: '添加交互',
              component: () => import('/@/views/documents/application-dev/ui/添加交互.vue'),
              name: '添加交互',
              meta: { title: '添加交互' }
            },
            {
              path: '动画',
              component: () => import('/@/views/documents/application-dev/ui/动画.vue'),
              name: '动画',
              meta: { title: '动画' }
            },
            {
              path: '事件',
              component: () => import('/@/views/documents/application-dev/ui/事件.vue'),
              name: '事件',
              meta: { title: '事件' }
            },
            {
              path: '页面路由',
              component: () => import('/@/views/documents/application-dev/ui/页面路由.vue'),
              name: '页面路由',
              meta: { title: '页面路由' }
            },
          ]
        },
        {
          path: '自定义组件',
          component: () => import('/@/views/documents/application-dev/ui/自定义组件.vue'),
          name: '自定义组件',
          meta: { title: '自定义组件' }
        }
      ]
    },
    // 应用开发-媒体
    {
      path: 'application-dev-media',
      component: () => import('/@/views/documents/application-dev/index.vue'),
      name: 'application-dev-media',
      redirect: 'noRedirect',
      meta: { title: '应用开发-媒体' },
      children: [
        {
          path: '音频开发概述',
          component: () => import('/@/views/documents/application-dev/media/音频开发概述.vue'),
          name: '音频开发概述',
          meta: { title: '音频开发概述' }
        },
        {
          path: '音频播放开发指导',
          component: () => import('/@/views/documents/application-dev/media/音频播放开发指导.vue'),
          name: '音频播放开发指导',
          meta: { title: '音频播放开发指导' }
        },
        {
          path: '音频管理开发指导',
          component: () => import('/@/views/documents/application-dev/media/音频管理开发指导.vue'),
          name: '音频管理开发指导',
          meta: { title: '音频管理开发指导' }
        }
      ]
    },
    // 应用开发-网络连接
    {
      path: 'application-dev-connectivity',
      component: () => import('/@/views/documents/application-dev/index.vue'),
      name: 'application-dev-connectivity',
      redirect: 'noRedirect',
      meta: { title: '应用开发-网络连接' },
      children: [
        {
          path: 'IPC与RPC通信概述',
          component: () => import('/@/views/documents/application-dev/connectivity/IPC与RPC通信概述.vue'),
          name: 'IPC与RPC通信概述',
          meta: { title: 'IPC与RPC通信概述' }
        },
        {
          path: 'IPC与RPC通信开发指导',
          component: () => import('/@/views/documents/application-dev/connectivity/IPC与RPC通信开发指导.vue'),
          name: 'IPC与RPC通信开发指导',
          meta: { title: 'IPC与RPC通信开发指导' }
        },
        {
          path: '远端状态订阅开发实例',
          component: () => import('/@/views/documents/application-dev/connectivity/远端状态订阅开发实例.vue'),
          name: '远端状态订阅开发实例',
          meta: { title: '远端状态订阅开发实例' }
        }
      ]
    },
    // 应用开发-JS参考规范
    {
      path: 'application-dev-js-reference',
      component: () => import('/@/views/documents/readme.vue'),
      name: 'application-dev',
      redirect: 'noRedirect',
      meta: { title: '应用开发-JS参考规范' },
      children: [
        // 框架说明
        {
          path: 'application-dev-1',
          component: getParentLayout('application-dev-1'),
          // component: () => import('/@/views/documents/application-dev/index.vue'),
          name: 'application-dev-1',
          meta: { title: '框架说明' },
          children: [
            {
              path: '文件组织',
              component: () => import('/@/views/documents/application-dev/js-reference/文件组织.vue'),
              name: '文件组织',
              meta: { title: '文件组织' }
            },
            {
              path: 'js标签配置',
              component: () => import('/@/views/documents/application-dev/js-reference/js标签配置.vue'),
              name: 'js标签配置',
              meta: { title: 'js标签配置' }
            },
            {
              path: 'app-js',
              component: () => import('/@/views/documents/application-dev/js-reference/app-js.vue'),
              name: 'app-js',
              meta: { title: 'app.js' }
            },
            {
              path: 'HML语法参考',
              component: () => import('/@/views/documents/application-dev/js-reference/HML语法参考.vue'),
              name: 'HML语法参考',
              meta: { title: 'HML语法参考' }
            },
            {
              path: 'CSS语法参考',
              component: () => import('/@/views/documents/application-dev/js-reference/CSS语法参考.vue'),
              name: 'CSS语法参考',
              meta: { title: 'CSS语法参考' }
            },
            {
              path: 'JS语法参考',
              component: () => import('/@/views/documents/application-dev/js-reference/JS语法参考.vue'),
              name: 'JS语法参考',
              meta: { title: 'JS语法参考' }
            }
          ]
        },
        // 组件
        {
          path: 'application-dev-2',
          component: () => import('/@/views/documents/application-dev/index.vue'),
          name: 'application-dev-2',
          redirect: 'noRedirect',
          meta: { title: '组件' },
          children: [
            {
              path: 'application-dev-2-1',
              component: () => import('/@/views/documents/application-dev/index.vue'),
              name: 'application-dev-2-1',
              redirect: 'noRedirect',
              meta: { title: '通用' },
              children: [
                {
                  path: '组件方法',
                  component: () => import('/@/views/documents/application-dev/js-reference/组件方法.vue'),
                  name: '组件方法',
                  meta: { title: '组件方法' }
                },
                {
                  path: '动画样式',
                  component: () => import('/@/views/documents/application-dev/js-reference/动画样式.vue'),
                  name: '动画样式',
                  meta: { title: '动画样式' }
                },
                {
                  path: '渐变样式',
                  component: () => import('/@/views/documents/application-dev/js-reference/渐变样式.vue'),
                  name: '渐变样式',
                  meta: { title: '渐变样式' }
                },
                {
                  path: '转场样式',
                  component: () => import('/@/views/documents/application-dev/js-reference/转场样式.vue'),
                  name: '转场样式',
                  meta: { title: '转场样式' }
                },
                {
                  path: '自定义字体样式',
                  component: () => import('/@/views/documents/application-dev/js-reference/自定义字体样式.vue'),
                  name: '自定义字体样式',
                  meta: { title: '自定义字体样式' }
                },
                {
                  path: '原子布局',
                  component: () => import('/@/views/documents/application-dev/js-reference/原子布局.vue'),
                  name: '原子布局',
                  meta: { title: '原子布局' }
                }
              ]
            },
            {
              path: 'application-dev-2-2',
              component: () => import('/@/views/documents/application-dev/index.vue'),
              name: 'application-dev-2-2',
              redirect: 'noRedirect',
              meta: { title: '容器组件' },
              children: [
                {
                  path: 'badge',
                  component: () => import('/@/views/documents/application-dev/js-reference/badge.vue'),
                  name: 'badge',
                  meta: { title: 'badge' }
                },
                {
                  path: 'dialog',
                  component: () => import('/@/views/documents/application-dev/js-reference/dialog.vue'),
                  name: 'dialog',
                  meta: { title: 'dialog' }
                },
                {
                  path: 'div',
                  component: () => import('/@/views/documents/application-dev/js-reference/div.vue'),
                  name: 'div',
                  meta: { title: 'div' }
                },
                {
                  path: 'list',
                  component: () => import('/@/views/documents/application-dev/js-reference/list.vue'),
                  name: 'list',
                  meta: { title: 'list' }
                },
                {
                  path: 'list-item',
                  component: () => import('/@/views/documents/application-dev/js-reference/list-item.vue'),
                  name: 'list-item',
                  meta: { title: 'list-item' }
                },
                {
                  path: 'list-item-group',
                  component: () => import('/@/views/documents/application-dev/js-reference/list-item-group.vue'),
                  name: 'list-item-group',
                  meta: { title: 'list-item-group' }
                },
                {
                  path: 'panel',
                  component: () => import('/@/views/documents/application-dev/js-reference/panel.vue'),
                  name: 'panel',
                  meta: { title: 'panel' }
                },
                {
                  path: 'popup',
                  component: () => import('/@/views/documents/application-dev/js-reference/popup.vue'),
                  name: 'popup',
                  meta: { title: 'popup' }
                },
                {
                  path: 'refresh',
                  component: () => import('/@/views/documents/application-dev/js-reference/refresh.vue'),
                  name: 'refresh',
                  meta: { title: 'refresh' }
                },
                {
                  path: 'stack',
                  component: () => import('/@/views/documents/application-dev/js-reference/stack.vue'),
                  name: 'stack',
                  meta: { title: 'stack' }
                },
                {
                  path: 'stepper',
                  component: () => import('/@/views/documents/application-dev/js-reference/stepper.vue'),
                  name: 'stepper',
                  meta: { title: 'stepper' }
                },
                {
                  path: 'stepper-item',
                  component: () => import('/@/views/documents/application-dev/js-reference/stepper-item.vue'),
                  name: 'stepper-item',
                  meta: { title: 'stepper-item' }
                },
                {
                  path: 'swiper',
                  component: () => import('/@/views/documents/application-dev/js-reference/swiper.vue'),
                  name: 'swiper',
                  meta: { title: 'swiper' }
                },
                {
                  path: 'tabs',
                  component: () => import('/@/views/documents/application-dev/js-reference/tabs.vue'),
                  name: 'tabs',
                  meta: { title: 'tabs' }
                },
                {
                  path: 'tab-bar',
                  component: () => import('/@/views/documents/application-dev/js-reference/tab-bar.vue'),
                  name: 'tab-bar',
                  meta: { title: 'tab-bar' }
                },
                {
                  path: 'tab-content',
                  component: () => import('/@/views/documents/application-dev/js-reference/tab-content.vue'),
                  name: 'tab-content',
                  meta: { title: 'tab-content' }
                }
              ]
            },
            {
              path: 'application-dev-2-3',
              component: () => import('/@/views/documents/application-dev/index.vue'),
              name: 'application-dev-2-3',
              redirect: 'noRedirect',
              meta: { title: '基础组件' },
              children: [
                {
                  path: 'button',
                  component: () => import('/@/views/documents/application-dev/js-reference/button.vue'),
                  name: 'button',
                  meta: { title: 'button' }
                },
                {
                  path: 'chart',
                  component: () => import('/@/views/documents/application-dev/js-reference/chart.vue'),
                  name: 'chart',
                  meta: { title: 'chart' }
                },
                {
                  path: 'divider',
                  component: () => import('/@/views/documents/application-dev/js-reference/divider.vue'),
                  name: 'divider',
                  meta: { title: 'divider' }
                },
                {
                  path: 'image',
                  component: () => import('/@/views/documents/application-dev/js-reference/image.vue'),
                  name: 'image',
                  meta: { title: 'image' }
                },
                {
                  path: 'image-animator',
                  component: () => import('/@/views/documents/application-dev/js-reference/image-animator.vue'),
                  name: 'image-animator',
                  meta: { title: 'image-animator' }
                },
                {
                  path: 'input',
                  component: () => import('/@/views/documents/application-dev/js-reference/input.vue'),
                  name: 'input',
                  meta: { title: 'input' }
                },
                {
                  path: 'label',
                  component: () => import('/@/views/documents/application-dev/js-reference/label.vue'),
                  name: 'label',
                  meta: { title: 'label' }
                },
                {
                  path: 'marquee',
                  component: () => import('/@/views/documents/application-dev/js-reference/marquee.vue'),
                  name: 'marquee',
                  meta: { title: 'marquee' }
                },
                {
                  path: 'menu',
                  component: () => import('/@/views/documents/application-dev/js-reference/menu.vue'),
                  name: 'menu',
                  meta: { title: 'menu' }
                },
                {
                  path: 'option',
                  component: () => import('/@/views/documents/application-dev/js-reference/option.vue'),
                  name: 'option',
                  meta: { title: 'option' }
                },
                {
                  path: 'picker',
                  component: () => import('/@/views/documents/application-dev/js-reference/picker.vue'),
                  name: 'picker',
                  meta: { title: 'picker' }
                },
                {
                  path: 'picker-view',
                  component: () => import('/@/views/documents/application-dev/js-reference/picker-view.vue'),
                  name: 'picker-view',
                  meta: { title: 'picker-view' }
                },
                {
                  path: 'piece',
                  component: () => import('/@/views/documents/application-dev/js-reference/piece.vue'),
                  name: 'piece',
                  meta: { title: 'piece' }
                },
                {
                  path: 'progress',
                  component: () => import('/@/views/documents/application-dev/js-reference/progress.vue'),
                  name: 'progress',
                  meta: { title: 'progress' }
                },
                {
                  path: 'qrcode',
                  component: () => import('/@/views/documents/application-dev/js-reference/qrcode.vue'),
                  name: 'qrcode',
                  meta: { title: 'qrcode' }
                },
                {
                  path: 'rating',
                  component: () => import('/@/views/documents/application-dev/js-reference/rating.vue'),
                  name: 'rating',
                  meta: { title: 'rating' }
                },
                {
                  path: 'select',
                  component: () => import('/@/views/documents/application-dev/js-reference/select.vue'),
                  name: 'select',
                  meta: { title: 'select' }
                },
                {
                  path: 'slider',
                  component: () => import('/@/views/documents/application-dev/js-reference/slider.vue'),
                  name: 'slider',
                  meta: { title: 'slider' }
                },
                {
                  path: 'span',
                  component: () => import('/@/views/documents/application-dev/js-reference/span.vue'),
                  name: 'span',
                  meta: { title: 'span' }
                },
                {
                  path: 'switch',
                  component: () => import('/@/views/documents/application-dev/js-reference/switch.vue'),
                  name: 'switch',
                  meta: { title: 'switch' }
                },
                {
                  path: 'text',
                  component: () => import('/@/views/documents/application-dev/js-reference/text.vue'),
                  name: 'text',
                  meta: { title: 'text' }
                },
                {
                  path: 'toolbar',
                  component: () => import('/@/views/documents/application-dev/js-reference/toolbar.vue'),
                  name: 'toolbar',
                  meta: { title: 'toolbar' }
                },
                {
                  path: 'toolbar-item',
                  component: () => import('/@/views/documents/application-dev/js-reference/toolbar-item.vue'),
                  name: 'toolbar-item',
                  meta: { title: 'toolbar-item' }
                },
                {
                  path: 'toggle',
                  component: () => import('/@/views/documents/application-dev/js-reference/toggle.vue'),
                  name: 'toggle',
                  meta: { title: 'toggle' }
                }
              ]
            },
            {
              path: 'application-dev-2-4',
              component: () => import('/@/views/documents/application-dev/index.vue'),
              name: 'application-dev-2-4',
              redirect: 'noRedirect',
              meta: { title: '媒体组件' },
              children: [
                {
                  path: 'Camera',
                  component: () => import('/@/views/documents/application-dev/js-reference/Camera.vue'),
                  name: 'Camera',
                  meta: { title: 'Camera' }
                }
              ]
            },
            {
              path: 'application-dev-2-5',
              component: () => import('/@/views/documents/application-dev/index.vue'),
              name: 'application-dev-2-5',
              redirect: 'noRedirect',
              meta: { title: '画布组件' },
              children: [
                {
                  path: 'canvas组件',
                  component: () => import('/@/views/documents/application-dev/js-reference/canvas组件.vue'),
                  name: 'canvas组件',
                  meta: { title: 'canvas组件' }
                },
                {
                  path: 'CanvasRenderingContext2D对象',
                  component: () => import('/@/views/documents/application-dev/js-reference/CanvasRenderingContext2D对象.vue'),
                  name: 'CanvasRenderingContext2D对象',
                  meta: { title: 'CanvasRenderingContext2D对象' }
                },
                {
                  path: 'Image对象',
                  component: () => import('/@/views/documents/application-dev/js-reference/Image对象.vue'),
                  name: 'Image对象',
                  meta: { title: 'Image对象' }
                },
                {
                  path: 'CanvasGradient对象',
                  component: () => import('/@/views/documents/application-dev/js-reference/CanvasGradient对象.vue'),
                  name: 'CanvasGradient对象',
                  meta: { title: 'CanvasGradient对象' }
                },
                {
                  path: 'ImageData对象',
                  component: () => import('/@/views/documents/application-dev/js-reference/ImageData对象.vue'),
                  name: 'ImageData对象',
                  meta: { title: 'ImageData对象' }
                }
              ]
            },
            {
              path: 'application-dev-2-6',
              component: () => import('/@/views/documents/application-dev/index.vue'),
              name: 'application-dev-2-6',
              redirect: 'noRedirect',
              meta: { title: '栅格组件' },
              children: [
                {
                  path: '基本概念',
                  component: () => import('/@/views/documents/application-dev/js-reference/基本概念.vue'),
                  name: '基本概念',
                  meta: { title: '基本概念' }
                },
                {
                  path: 'grid-container',
                  component: () => import('/@/views/documents/application-dev/js-reference/grid-container.vue'),
                  name: 'grid-container',
                  meta: { title: 'grid-container' }
                },
                {
                  path: 'grid-row',
                  component: () => import('/@/views/documents/application-dev/js-reference/grid-row.vue'),
                  name: 'grid-row',
                  meta: { title: 'grid-row' }
                },
                {
                  path: 'grid-col',
                  component: () => import('/@/views/documents/application-dev/js-reference/grid-col.vue'),
                  name: 'grid-col',
                  meta: { title: 'grid-col' }
                }
              ]
            }
          ]
        },
        // 自定义组件
        {
          path: 'application-dev-3',
          component: () => import('/@/views/documents/application-dev/index.vue'),
          name: 'application-dev-3',
          redirect: 'noRedirect',
          meta: { title: '自定义组件' },
          children: [
            {
              path: '基本用法',
              component: () => import('/@/views/documents/application-dev/js-reference/基本用法.vue'),
              name: '基本用法',
              meta: { title: '基本用法' }
            },
            {
              path: '自定义事件',
              component: () => import('/@/views/documents/application-dev/js-reference/自定义事件.vue'),
              name: '自定义事件',
              meta: { title: '自定义事件' }
            },
            {
              path: 'Props',
              component: () => import('/@/views/documents/application-dev/js-reference/Props.vue'),
              name: 'Props',
              meta: { title: 'Props' }
            },
            {
              path: '事件参数',
              component: () => import('/@/views/documents/application-dev/js-reference/事件参数.vue'),
              name: '事件参数',
              meta: { title: '事件参数' }
            },
          ]
        },
        // 组件通用说明
        {
          path: 'application-dev-4',
          component: () => import('/@/views/documents/application-dev/index.vue'),
          name: 'application-dev-4',
          redirect: 'noRedirect',
          meta: { title: '组件通用说明' },
          children: [
            {
              path: '通用事件',
              component: () => import('/@/views/documents/application-dev/js-reference/通用事件.vue'),
              name: '通用事件',
              meta: { title: '通用事件' }
            },
            {
              path: '通用属性',
              component: () => import('/@/views/documents/application-dev/js-reference/通用属性.vue'),
              name: '通用属性',
              meta: { title: '通用属性' }
            },
            {
              path: '通用样式',
              component: () => import('/@/views/documents/application-dev/js-reference/通用样式.vue'),
              name: '通用样式',
              meta: { title: '通用样式' }
            }
          ]
        },
        // 接口
        {
          path: 'application-dev-51',
          component: () => import('/@/views/documents/application-dev/index.vue'),
          name: 'application-dev-51',
          redirect: 'noRedirect',
          meta: { title: '接口' },
          children: [
            {
              path: '日志打印',
              component: () => import('/@/views/documents/application-dev/js-reference/日志打印.vue'),
              name: '日志打印',
              meta: { title: '日志打印' }
            },
            {
              path: '应用打点',
              component: () => import('/@/views/documents/application-dev/js-reference/应用打点.vue'),
              name: '应用打点',
              meta: { title: '应用打点' }
            },
            {
              path: 'UI页面路由',
              component: () => import('/@/views/documents/application-dev/js-reference/页面路由.vue'),
              name: 'UI页面路由',
              meta: { title: '页面路由' }
            },
            {
              path: '弹窗',
              component: () => import('/@/views/documents/application-dev/js-reference/弹窗.vue'),
              name: '弹窗',
              meta: { title: '弹窗' }
            },
            {
              path: '定时器',
              component: () => import('/@/views/documents/application-dev/js-reference/定时器.vue'),
              name: '定时器',
              meta: { title: '定时器' }
            },
            {
              path: '时间设置',
              component: () => import('/@/views/documents/application-dev/js-reference/时间设置.vue'),
              name: '时间设置',
              meta: { title: '时间设置' }
            },
            {
              path: '音频管理',
              component: () => import('/@/views/documents/application-dev/js-reference/音频管理.vue'),
              name: '音频管理',
              meta: { title: '音频管理' }
            },
            {
              path: '音频播放',
              component: () => import('/@/views/documents/application-dev/js-reference/音频播放.vue'),
              name: '音频播放',
              meta: { title: '音频播放' }
            },
            {
              path: '设备信息',
              component: () => import('/@/views/documents/application-dev/js-reference/设备信息.vue'),
              name: '设备信息',
              meta: { title: '设备信息' }
            },
            {
              path: '系统属性',
              component: () => import('/@/views/documents/application-dev/js-reference/系统属性.vue'),
              name: '系统属性',
              meta: { title: '系统属性' }
            },
            {
              path: '电池和充电属性',
              component: () => import('/@/views/documents/application-dev/js-reference/电池和充电属性.vue'),
              name: '电池和充电属性',
              meta: { title: '电池和充电属性' }
            },
            {
              path: '设置系统屏幕亮度',
              component: () => import('/@/views/documents/application-dev/js-reference/设置系统屏幕亮度.vue'),
              name: '设置系统屏幕亮度',
              meta: { title: '设置系统屏幕亮度' }
            },
            {
              path: '国际化',
              component: () => import('/@/views/documents/application-dev/js-reference/国际化.vue'),
              name: '国际化',
              meta: { title: '国际化' }
            },
            {
              path: '资源管理',
              component: () => import('/@/views/documents/application-dev/js-reference/资源管理.vue'),
              name: '资源管理',
              meta: { title: '资源管理' }
            },
            {
              path: '升级',
              component: () => import('/@/views/documents/application-dev/js-reference/升级.vue'),
              name: '升级',
              meta: { title: '升级' }
            }
          ]
        }
      ]
    },
    // 贡献指南
    {
      path: 'contribute',
      component: () => import('/@/views/documents/contribute/readme.vue'), //parent router view
      name: 'contribute',
      meta: { title: '贡献指南' },
      redirect: 'noRedirect',
      children: [
        {
          path: 'contribution',
          component: () => import('/@/views/documents/contribute/参与贡献.vue'),
          name: '参与贡献',
          meta: { title: '参与贡献' }
        },
        {
          path: 'COC',
          component: () => import('/@/views/documents/contribute/行为准则.vue'),
          name: '行为准则',
          meta: { title: '行为准则' }
        },
        {
          path: 'code_contribution',
          component: () => import('/@/views/documents/contribute/贡献代码.vue'),
          name: '贡献代码',
          meta: { title: '贡献代码' }
        },
        {
          path: 'FAQ',
          component: () => import('/@/views/documents/contribute/FAQ.vue'),
          name: 'FAQ',
          meta: { title: 'FAQ' }
        },
        {
          path: 'doc_contribution',
          component: () => import('/@/views/documents/contribute/贡献文档.vue'),
          name: '贡献文档',
          meta: { title: '贡献文档' }
        },
        {
          path: 'rules',
          component: () => import('/@/views/documents/contribute/写作规范.vue'),
          name: '写作规范',
          meta: { title: '写作规范' }
        },
        {
          path: 'process',
          component: () => import('/@/views/documents/contribute/贡献流程.vue'),
          name: '贡献流程',
          meta: { title: '贡献流程' }
        }
      ]
    },
    // 术语表
    {
      path: 'glossary',
      component: () => import('/@/views/documents/device-dev/glossary/glossary.vue'),
      name: 'glossary',
      meta: { title: '术语表', noCache: true }
    }
  ]
};

export default documents
